Forums
(@cbgamedev)
8 years, 11 months ago
Ahh I worked it out, in case anyone else wants to do this I changed .home to .blog (which is the posts page). So it’s:
body:not(.blog) .sidebar-primary { display: none; } @media all and (min-width: 56.25em) {
body:not(.blog) .main { width: 100%; } }
Thanks for getting back to me so quickly Ben!
I just realised I was after adding the sidebar to only the posts page and not the home page. Would that be something like:
.page-posts instead of .home?