Is there a way to hide a page title? I need to show content on my home page, but I don't want a title on that particular page.
Thanks in advance! You guys are SO helpful! :)
Karen
Is there a way to hide a page title? I need to show content on my home page, but I don't want a title on that particular page.
Thanks in advance! You guys are SO helpful! :)
Karen
Hi Karen,
Yes, you would need to add the CSS snippet below to your custom.css (located in /wp-content/themes/flashlight/css/) or your Quick CSS under Theme Options > Styling.
body.page-id-### .entry-title {
display:none;
}
Since you want to hide the title on a particular page, you'll want to replace the ### with the page's ID number. You can find that by going to Pages > click the page > then look in the address bar or Portfolio Items > click the page > then look in the address bar.
Example of the address bar:
http://yourdomain.com/flashlight/wp-admin/post.php?post=2&action=edit
You see the post=2? The "2" is the page's ID number.
So if you wanted to hide the title on your Who is Karen Cooley Photography page the code would be this:
body.page-id-272 .entry-title {
display:none;
}
Hope this helps!
Regards,
Mya
You must log in to post.