Okay
  Public Ticket #3075198
Remove category button from single post heading
Closed

Comments

  •  3
    taiwanwomenart started the conversation

    I want to remove the category button (in my case News) away from the top of blog header title  the attachment). I don't want people to go to "../category/news" page,  I will make separate "Back" button.

    I tried some CSS I found for the similar situation but it didn't work for me.

    How to solve this, any other css code or some setting can turn off to make the cutton disappear? Or is the button url possible to change to go straight to ".../news" page?

  •  279
    Noah replied

    Hi there,

    For removing only the news category button \ item from that header on main post pages then use this CSS:

    body.single-post #page-header-bg .inner-wrap a[href="https://waa.org.tw/category/news/"]{
        display:none;
    }
    

    If you want to remove all categories from the header in your main post pages then use this CSS:

    #page-header-bg[data-post-hs="default_minimal"] .inner-wrap > a:not(:hover){
        display:none;
    }
    

    And the CSS to salient \ general settings - css script related - csutom css code.

    Cheers.

  •  3
    taiwanwomenart replied

    Thanks a lot, it worked!