This topic has 4 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #205730
     logaritym
    Participant

    Hello. I would like to hide the parent categories and leave the subcategories in the meta of the posts. How can I do this?

    #205774
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #205858
     Radu
    Moderator

    Hi,

    Tried a workaround and cannot remove only that tried with css to target all links from there that contains the main category slug but it removes also the second one.

    So there is no easy way to remove only that… another workaround may be this… but i’m not sure how will behaves when you have only a category there.

    COPY CODE
    
    
    article .post-header .post-meta .meta-category a:first-child{
    display:none !important; 
    }
    

    The css will be added to wp-admin -> theme options -> General settings -> Quick CSS

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #205865
     logaritym
    Participant

    Hi! Actually, this also leaves the comma which is after the first category…

    #205904
     Radu
    Moderator

    Yes i saw i was looking for a solution to remove it but the comma of that isn’t placed on any element with class or div id to can be targeted.

    I’m looking for a workaround will let you know
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?