Removing the category header

  • Unknown's avatar

    Hello,
    I’m currently using the Gema theme and I REALLY love it, however, I’ve tried two css codes I found on the forum trying to remove the category header. So far they didn’t work, perhaps they’re not compatible with my theme? What’s my next step?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello,

    This CSS code will hide the category title from category pages:

    .category h1.archive-title {
        display: none;
    }

    Hope this helps

  • Unknown's avatar

    The codes work for some themes, on the watermark it doesn’t :/

  • Unknown's avatar

    On the Gema theme it does.

  • Unknown's avatar

    @daysibley, although there can be some similarities in CSS between themes, in general CSS is theme specific, and even though some CSS selectors may be the same, some designers will be more specific with CSS. For example, in one theme, this may change the size of the font in the content area

    .entry-content {
    font-size: 16px;
    }

    whereas in another theme, the designer may have been more specific like this.

    .site .entry-content {
    font-size: 16px;
    }

    That is only a simple example of the differences you may run into.

    If you are not familiar with the web inspector in your browser, take a look at our support page on How to Find Your Theme’s CSS where you will find some brief screencasts to get you started with it. I find it an invaluable tool when working with CSS.

  • The topic ‘Removing the category header’ is closed to new replies.