Display header image only on selected pages or categories (twenty twelve)
-
Hello
I would like to display the header image only on my home page. I found this discussion:
https://en.forums.wordpress.com/topic/can-i-remove-the-header-on-just-one-page?replies=10
… but the CSS solution doesn’t have any effect on my page. What is the CSS code to show header image only on selected pages/categories. In my case on the home page (which is static)Thank you,
HynekThe blog I need help with is: (visible only to logged in users)
-
Hi
Hi dubbedperceptionsTry this custom CSS.
img.header-image { display: none; } .home img.header-image { display: initial; }To add custom CSS
Select Appearance > Customize > CSS from your Admin Dashboard and enter the custom CSS there.
You need to be on the WordPress.com Premium Plan for custom CSS to save.
-
-
- The topic ‘Display header image only on selected pages or categories (twenty twelve)’ is closed to new replies.