Hide image header on other pages than homepage Gazette theme
-
Hi there,
I’m looking for the CSS-code to only display the header image on my homepage, and to them them on other pages and articles.
Can someone help me with this?
Thanks!
Gr.
MerelThe blog I need help with is: (visible only to logged in users)
-
I’m seeing the header image with Proza only on the home page right now. Is that the image you are referring to, or are you referring to Passionate Platform below the menu?
-
-
Thanks for the clarification. I’ve looked at a number of pages and categories and pages from your menu, and I’m not seeing the Passionate Platform image on any of the other pages I visited. It may be that I’ve just not looked at another page that has that graphic showing. Can you point me to a page where that graphic is showing where you wish to hide it?
-
Sorry, that is because I already found the css on this forum.
But it still doesn’t really work the way I want to, because now the space between the menu and the header is very small. I tried to enlarge it by changing the padding but somehow this is the maximum. This is the css I used:.header-image {
display: none;
}.home .header-image {
display: initial;
padding: 100px;
}I deleted this css for now, so right now the header image is shown on every page.
-
-
Give this a try. Display: block; is a better choice in this instance.
.header-image { display: none; } .home .header-image { display: block; } -
-
- The topic ‘Hide image header on other pages than homepage Gazette theme’ is closed to new replies.