Site logo

Archived topic

Background Color of Blog Pages Content

18 replies · Started by stlayman on December 21, 2016

Viewing posts 16–19 of 19

Thanks David! The Top Padding setting would look better, but I don't want to use it on all pages. I tried the following CSS for Blog page and Posts. It looks great, but it gives me 16 pixels above of the nav menu as well. This causes the menu to shift down, which we can't have.

body.blog,
body.blog .container,
body.single-post,
body.single-post .container {
padding-top: 16px;
}

Can this be modified so that the menu top of the nav. menu would not be affected?
http://staging.beaumontcare.com.au/news/

You only want to target the Container element:

body.blog .container,
body.single-post .container {
    padding-top: 16px;
}

That's it mate! Thanks.

You're welcome

This archived topic is closed to new replies.