Removing a header from featured pages
-
Hi,
I need to hide my home page header from other featured pages on the blog. The solution provided by the support didn’t work:.site-image a, .site-image img { display: none; }
This removed the header from ALL pages, including the home page. Although we specified pages id correctly.
Any ideas? May be this is a problem with a theme I am using?
The blog I need help with is: (visible only to logged in users)
-
Hi there, can you let us know which pages you want the header removed from? We can either do it individually by page id or type (post) or if you want it removed from all other pages, and have it show only on the main page, we can do that also.
The following removes the header on ALL pages and the second rule makes it come back on only the home page.
.site-image a, .site-image img { display: none; } .home .site-image a, .home .site-image img { display: block; } -
Each theme is unique and therefore needs different CSS selectors depending on what part of the theme you are editing and what you want to change. CSS provided for one theme will not work for another.
This help page has a really good example showing you how to find what CSS selectors your theme is using so you can copy those and use them in your own custom CSS:
http://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/If you still need help after that, it would help if you included a link to the page you are working on or if you at least confirmed what theme you are working on.
- The topic ‘Removing a header from featured pages’ is closed to new replies.