Headline margin problem since X update to 8.0.4

Hi guys,

I just made the update for X 8.0.4 and it created a problem with my headlines : I now have an added margin for each of them. See here for exemple : https://simondumas.fr/a-propos/#parcours.

Surprisingly, the gaps don’t show in the front-end :

Also, if I change the tag of the headline from ‘H’ to ‘span’, the problem is solved. So it really comes from the headline settings but I can’t find where to change that in the general settings.

There is no problem with the classic headlines, juste with the new ones.

How can I fix that ?

Thanks, Simon

@simondumas, thanks for writing in! This is a strange one as I just fired up an example on my local install and things are working as expected. Notice my Headline Element with an h4 for the main text and a p for the subheadline:

You can see from my screenshot that the h4 with a class of x-text-content-text-primary and the p with a class of x-text-content-text-subheadline should have their margin-top / margin-bottom set to 0 to eliminate this issue. It’s strange why it wouldn’t be outputting on your frontend, that’s just a static style that comes with the theme. Do you have any customizations going on, or are you perhaps using a CDN of some sort? Perhaps you have an older cached stylesheet that is not pulling through this style? Can you please confirm that you’ve flushed any site / CDN caching you might be using that could create this conflict?

@kory, thank you for your reply. Problem is solved !
I don’t have a CDN and I already tried purging the cash but it didn’t work in the first place.
I had to disable page caching from WP-Optimize 3.1.4 to restore it… weird…
Thanks for your insight.
Have a good day :slight_smile:

Thanks for letting us know it’s working now!

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