Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

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

May 18, 2012 by Dan_31

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

1 Answer

0 votes
May 18, 2012 by SmartHost
This code will do it
.type-post .entry-title {display:block;}
.type-page .entry-title {display:none;}