Pull-left Headline

Hi there,

I am trying to pull the subheadings that I have on this page https://thelanguagesherpa.com/russianpod101-review/ to the left. I used a code that was given to me previously that did the same thing to another element:

@media (min-width: 768px) {
    .pull-left {
        margin-left: -85px;
    }
}

However, when I assign these headline boxes the class ‘pull-left’ nothing happens. Have I made a mistake in the CSS here?

Thank you,
LS

Hey LS,

I checked the source code of your page and I see no element with the pull-left class. Please ensure the class is added.

Thanks.

Hi Christian,

The first headline - “What is RussianPod101” has this class now and the CSS has been added - but to no effect.

Thanks,
LS

Hey LS,

Try changing the selector to this .pull-left.x-text-headline or add an !important rule to your declaration.

Hope that helps.

Hi Christian,

I tried what you suggested but unfortunately it didn’t work.

LS

Hi again,

I checked your page and the CSS is working fine for your heading (see screenshot)

I see you’re using WP Rocket, please clear all cache inclufding your browser’s cache and check your site again.

Thanks!

Hi Nabeel,

Yes, it was just a case of clearing the cache - apologies for the trouble!

Thank you,
LS

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.