Site logo

Archived topic

Additional Spacing Throughout the Site

6 replies · Started by Alan on March 12, 2021

Viewing posts 1–7 of 7

Not really sure where to go with this, but I have additional (I believe paragraph) spacing throughout the site. I noticed it last nite. I have been working on the site all week, so would have noticed the additional spacing up to this point. Did something happen to/with the site yesterday and overnight? My live site is https://www.savacations.com/. Do you see anything in the code?

Please let me know what you find. Thanks,

Hi there,

can you first disable your cache plugin to see if the cached CSS got messed up?

I purged the wp engine cache, purged then disabled the auto optimize plugin, and then cleared my browser cache.

If i check a single post - i can see a lot of empty paragraph elements in the sites HTML.
P tags have a default line-height and bottom margin - you can try this CSS to remove the space they create:

p:empty {
    margin-bottom: 0;
    line-height: 0;
}

David:

That works fine. If I think about it, uploading a zip file of the Social Warfare plugin may be responsible for the additional space. I have since deleted it from my website. Could this be the cause?

Am I better off having my developer revert the website to an earlier version - perhaps Wednesdays - so that I do not need the css that you provided or should I just leave it in there?

Thank you for everything...

That works fine. If I think about it, uploading a zip file of the Social Warfare plugin may be responsible for the additional space. I have since deleted it from my website. Could this be the cause?

I can't say that the SW plugin would that but it does inject code into the content so that is a possibility.

Am I better off having my developer revert the website to an earlier version – perhaps Wednesdays – so that I do not need the css that you provided or should I just leave it in there?

Personally i would roll back to a version without the problem.

Glad to be of help.

Thanks

This archived topic is closed to new replies.