Archived

This topic is now archived and is closed to further replies.

  • 0

Hide post title based on categories


Question

Posted · Report post

Hi, I've created a category to just link to resources outside of my blog. I would like to hide the title and metabar for this posts in category-213. I'm using Platform Pro 1.6

 

Is it any way to do it just with CSS? Can I also style a border or background for this category only by CSS?

 

Thank you very much!

 

 

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

Yes, as the the category-id is a class not an ID, so it should look like this:

 

.category-213 .post .entry-tile { }

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

You can use custom CSS, to hide the Post title and metabar. Todo on a specific category, you will need to use the category-id class, this can be found in your body tag. I recommend using Firebug or your browsers built-in web dev tools and inspect category page which you wish to hide the post title/metabar, then inspect the post title/metabar to find the correct code.

 

You will want to use the display:none; property in your custom CSS.

 

For assistance visit our custom CSS documentation - http://support.pagelines.me/docs/customization/custom-css/

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Danny,

 

I tried adding this on the "custom code" css rules and is not working...

 

#category-213 .entry-title {display: none;}

 

Is it wrong?

Share this post


Link to post
Share on other sites

Posted · Report post

Cool :)

 

Thank you very much!

Share this post


Link to post
Share on other sites