Support » Theme: Koji » how to hide “category” followed by name of category at top of page

  • Resolved ceasecowsmag

    (@ceasecowsmag)


    I would like to switch to Koji, but I’m not wild about how, when I have a category listed in my menu, when I click on that menu item to go to the page with posts from that category, it has a dark block at the top of the page where it says “Category” and then the name of the category below it (“Blog” for example). How do I hide this? I would prefer to add some code to custom CSS and not mess around with anything more complicated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ceasecowsmag

    (@ceasecowsmag)

    Note: I’m looking at it in the live preview and when I try to enter snippets of code that hid this on my current theme, the code isn’t working. This is the code I currently have, some of which hid this issue on my current theme, but not when I try to plug it in on the Koji theme:
    #site-logo {
    display: none;
    }
    .home #site-logo {
    display: block;
    }.archive .page-title {
    display: none;
    }.post-meta .post-category {
    display: none;
    }.site-header a {
    font-weight: bold;
    }#comments, #respond {
    display: none !important;
    }.nav-subtitle, .post-navigation .nav-links {
    display: none;
    }

    Thread Starter ceasecowsmag

    (@ceasecowsmag)

    Figured it out! For “blog” category, for example, I put the following in the Additional CSS area:

    .category-blog .archive-header {display: none !important;
    }

    Tried your code above but it didn’t work, I tried adding .subheading instead and it work on my side. Glad to found this little tweaks for a great theme. Here’s the updated code:

    .archive-header .subheading {display: none !important;}

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to hide “category” followed by name of category at top of page’ is closed to new replies.