How do i hide category list under titles

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jundolor's picture

Hello all,

I had just hidden the view of post information (ex: Submitted by admin on Sun, 11/18/2007 - 06:39) below the title of each content but I just noticed that the category list below the title still displays. Any way to hide this also?

Many thanks....

Jun D!
Life is like a box of chocnut, you never know if its durog or not

Comments

2 ways

sofiya's picture

assuming you're using bluemarine theme, you can either:
1. edit node.tpl.php in themes/bluemarine folder and:
* delete this line: <span class="taxonomy"><?php print $terms?></span>
* or HTML comment like this: <!-- <span class="taxonomy"><?php print $terms?></span> -->

  1. or edit your style.css in themes/bluemarine folder and put this line:
        span.taxonomy { display: none; }

problem fixed

jundolor's picture

Thanks for the info bro....

Actually, I'm using a custom theme. The node.tpl.php did not contain the code <span class="taxonomy">...</span>.

So what did I do? I opened the page source and saw that the html to display the taxonomy is <span class="terms">...</span>. I proceeded to open node.tpl.php on my custom theme and apply comment to the line <span class="terms">...</span> so that it looks like this: <!--<span class="terms">...</span>-->. It worked like a charm... ;-)

Best regards, Jun D!
Life is like a box of chocnut, you never know if its durog or not

Philippines

Group organizers

Group categories

Post category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: