Wordpress/Hide entry titles for my web page but not for post

191 views
asked May 18, 2012 in Website Builder by Dan_31 (910 points)
hello,

I have a twenty eleven child and I used the following code to hide entry titles on my pages
.entry-title {
    display: none;
}
The problem is that it also hides posts titles that I don’t want to hide. Does anyone know how to hide the entry titles without hiding the post titles? Please help
Thank you
Ans.

1 Answer

0 like 0 dislike
answered May 18, 2012 by SmartHost (9,060 points)
Hi..
This code will do it
.type-post .entry-title {display:block;}
.type-page .entry-title {display:none;}
...