Hide title on single static page
-
Hello,
I am trying to hide the page title on a single static page while keeping it in the menu by using CSS. I have found many similar topics on this forum but none of the solutions seems to be working for me. I am using the theme Revolution Code Blue. The style sheet has the following id (which I have already edited slightly):
#content h1 {
color: #2255AA;
background: #F1F1F1;
font-size: 24px;
font-family: Times New Roman, Georgia, Trebuchet MS;
font-weight: normal;
margin: 0px;
padding: 0px 3px 0px 0px;
border-bottom: #CCCCCC solid thin;
}When I add ‘display: none;’ to it, the page titles on all pages disappear (as expected).
I have tried using ‘#page-id-29 .h1 {display: none;}’
and different variations thereof to hide it on a single page but to no avail.I am new to both WordPress and CSS so would appreciate any help. I guess I am missing some small but vital detail.
Thanks a lot to everyone in advance.
P.S. I presume it would help if I posted the link to the site but it is not live yet and runs only on MAMP. Do let me know if you need more information.
I have also double-checked the page id and it is definitely 29.
- The topic ‘Hide title on single static page’ is closed to new replies.