Support

Home Forums Event Espresso Premium espresso-ajax-notices blank space

espresso-ajax-notices blank space

Posted: September 6, 2016 at 11:31 am

Viewing 2 reply threads


Tam

September 6, 2016 at 11:31 am

Hello, I am noticing only on a few pages there is a gap at the top of my body content. When I inspect this the gap is caused by “espresso-ajax-notices”
Here is a sample page. Is there an easy way to prevent this from taking up room?
http://prairiegardens.org/buy-passes-admission-rates/


Josh

  • Support Staff

September 6, 2016 at 11:56 am

It’s more of an indirect cause because the gap is actually from the theme’s CSS where it does this:

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

Which has the affect of the 90px margin when the extra divs are in the markup.

You can avoid the above by adding the following to your custom stylesheet:

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


Tam

September 16, 2016 at 10:58 am

Most excellent. i am adding this now. Thank you!

Viewing 2 reply threads

The support post ‘espresso-ajax-notices blank space’ 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.

Event Espresso