Page Title on Select Pages Only
-
Hi, I am working on removing the page titles from all of my pages except for my blog. Using .entry-title {display: none;} also removes the title of the blog posts, which I do not want.
I followed another post and tried testing it with my home page first, .page-id-11 .entry-title {display: none}, where 11 is the page id for my home page. This worked until I added the rest of my pages on my website.
When I reverted back to just using the code for the home page the code did not work. I started getting blank white pages. I had to delete the css code to get my website back to normal.
How do I get the page titles to only display on the blog page, and how do I set the styles up for multiple pages?
This is how I set up the css styles for the multiple pages:
.page-id-11, .page-id-6, page-id-13, .entry-title {
display: none;
}
My Website
Theme 2012 (editing in a child theme)
Browser: FF and I have the Firebug add on.
- The topic ‘Page Title on Select Pages Only’ is closed to new replies.