Add spacing to top of Blog index page

Hi there,

I need to add some spacing at the top of the page on blog posts to clear the Nav Header (I’m using pro).

I’ve got this working on the single posts pages, using the code below, but how can I add this to the main posts index / blog page as well?

.single-post .x-container.max.width.offset {
box-shadow: none;
padding-top: 3.5em;
border: none;
background: #fff;
}

Thanks

Hi Mark,

Please try to use the default blog index page class .blog
Try to update above code to this:

.single-post .x-container.max.width.offset,
.blog .x-container.max.width.offset {
box-shadow: none;
padding-top: 3.5em;
border: none;
background: #fff;
}

The following might help:

That works perfectly thanks, I should have thought to check the class for that page - sorry for wasting your time, but thanks for the help :wink:

You are most welcome. :slight_smile:

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