Please post a link to your site.
Hi,
Thanks so much for responding, and so quickly. Here is a link to show an example: http://howtodetoxyourlife.ca/category/beauty/. The category title ‘beauty’ is showing up at the top of my post. I want to hide all of these category titles from my posts.
You need to add this CSS:
.category .header-post-title-container {display: none; }
If your theme has a custom CSS option, add it there. If not, either use Jetpack’s custom CSS module or install the plugin “simple custom CSS” and use it to add the CSS.
If you want to remove that area from *all* posts, remove the .category
at the front.
Yay, it worked! Thank you so much. I can’t believe how quick you responded and how easily you fixed the problem for me. I really appreciate your help. Cheers! 🙂
Actually, one more question…along the same lines. How do I hide the post titles?
remove .cateogry
use just .header-post-title-container {display: none; }
I tried that but it didn’t work
I can see the CSS in your page source… hmmm…
Please note that removing titles from your post is (1) bad SEO and (2) confusing for your users.
Ok, well I didn’t want to remove them, just hide them. I was going to add my own titles with better looking font, etc. So perhaps I should just add a font plugin instead?
Learn to edit the CSS by learning how to use the Chrome inspector:
https://developers.google.com/web/tools/chrome-devtools/?hl=en
This is being over-complicated.
If you want all categories to not display a page title just add this to your custom CSS:
.category .page-title{
display: none;
}
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Boom. All done.
-
This reply was modified 6 years, 11 months ago by bdbrown.
-
This reply was modified 6 years, 11 months ago by bdbrown.
I have problem with the same issue here is my site http://www.boxofpolygons.com
The above custom css code didn’t work 🙁
Actually ended up just removing the css cause couldn’t be bothered with plugins or css custom function code.