Support » Themes and Templates » Remove portion of post meta per category

Viewing 5 replies - 1 through 5 (of 5 total)
  • What is the theme? If all else fails, you could just attach “display:none” to the appropriate classes for those categories.

    Note that each category is assigned to the <body> tag as a class. So you can target category-specific elements for CSS changes with:

    .category-projects .meta {}

    It’s called Radial – purchased from Themeforest.

    The display: none will totally work. But I’m not following how to assign that to individual categories.

    Do you mean literally I would add to my css

    .category-projects .posted-date {

    changing the category-INSERT CATEGORY SLUG HERE until I knock them all out?

    I don’t need to remove all of the meta data, just the .posted-date and .meta .written

    Sorry for the lameo response! You know that CSS isn’t my strong point.

    as you are working with a commercial theme please keep contacting the theme’s seller/author for support.

    use the category specific css class output by body_class(), together with the css classes of those elements which you want to remove, and add the usual display: none;

    .category-projects .posted-date { display:none; }

    using a tool such as Firebug could help to identify the involved css classes.

    Yes, that’s exactly what you can do. Each category page will have the same kind of class assigned to <body>. When in doubt, browse to the page and look at the classes on the <body> tag.

    Thanks guys – perfect. That wasn’t hard at all. I don’t know why the theme authors couldn’t say that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove portion of post meta per category’ is closed to new replies.