Support

Home Forums Event Espresso Premium Whitespace added

Whitespace added

Posted: October 12, 2018 at 9:26 am


Stephen Atkins

October 12, 2018 at 9:26 am

When I activate your plug in in wordpress it puts a large white space at the top of the site, just below the nav header. How can I prevent this? I am running X Theme


Josh

  • Support Staff

October 12, 2018 at 9:42 am

Hi,

Usually this is caused by the theme improperly applying a margin to an element by selection of first-child, which can be fixed by changing the CSS selector to use first-of-type.

So for example if the theme has this:

.hentry{margin-top:90px}.hentry:first-child{margin-top:0}

You wold change it to be:

.hentry{margin-top:90px}.hentry:first-of-type{margin-top:0}

Please note this is only a guess and in order to verify whether the above is happening on your site, we could check if you can post a link to the site in question.

The support post ‘Whitespace added’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!