Okay
  Public Ticket #2093760
Remove Categories from Header on Single Post
Closed

Comments

  •  1
    Ryan started the conversation

    Hi there, I'd like to remove the Categories from the Single Post Header. That way it only shows the title of the post. I'm trying to prevent people from accessing archive pages as much as possible so that I can build my own custom pages for various categories instead.

    I tried the follow CSS and it didn't work:

    .single span.meta-category {
        display: none !important;
    }
    

    And neither did this:

    .single #page-header-bg span.meta-category {
        display: none !important;
    }
    

    And neither did this:

    .single #page-header-bg .subheader {
        display: none !important;
    }

    I"m sure I am missing something so obvious and simple :)

  •  3,025
    Andrew replied

    Hi there,

    Use the following custom css:

    body[data-button-style^="rounded"] #page-header-bg[data-post-hs="default_minimal"] .inner-wrap >a, body[data-button-style^="rounded"].material #page-header-bg.fullscreen-header .inner-wrap >a{
        display:none;
    }
    

    Hope this helps.

  •  1
    Ryan replied

    Perfect! Thank you, Andrew.