Header only in homepage Forever theme
-
Hi! I’m trying to get rid of the header in all the pages of my blog except on the homepage. I’ve tried it by adding this code:
.page #headerimg {
display: none;
}
But nothing changes. Should I add something else?
Thanks!The blog I need help with is: (visible only to logged in users)
-
You were partway there, but you need a space between header and img. Add the following to the end of your CSS in this order and then make sure and check your other pages, and the blog page as well. This leaves it on the blog related pages (category, archive, single post and main blog).
.page #masthead img { display: none; } .home #masthead img { display: inline; } -
Thanks a lot! It worked. Just one more thing, is there any way to eliminate the header also in the blog page?
-
Change the first bit of the code above to this:
.page #masthead img, .blog #masthead img { display: none; } -
-
- The topic ‘Header only in homepage Forever theme’ is closed to new replies.