Header image on homepage only
-
Hi,
Im having trouble figuring out how to make my header image appear only on my homepage and not on any of the other pages.
My current theme is Karuna, I don’t know if that helps or not
Thank you!
The blog I need help with is: (visible only to logged in users)
-
Hi @sanarnaturals.
In the Karuna theme, single posts and pages will use the custom header if no featured image is set.
If you have any further questions please don’t hesitate to ask. Have a great day!
-
If you have a plan that allows CSS customization (Premium or Business) we can look at ways to remove the header through CSS.
If that’s the case, would you want the header to appear on only the front page, and no other pages of your site? I just want to make sure we approach this the right way. :)
-
Hello!
I have played around with your site and, if you have a Premium or Business plan, you can use some custom CSS to modify the header.
Add this code to your custom CSS:
body:not(.home) .custom-header {
display: none
}That should hide the header on any page that isn’t your home. For more information on how to add this CSS, please see this documentation: https://en.support.wordpress.com/custom-design/editing-css/
I hope that helps!
-Khristian
-
- The topic ‘Header image on homepage only’ is closed to new replies.