Hiding Category and Tags in Every Post

  • Author
    Posts
  • #1599953

    gorjaeous
    Member

    Hello, I’d like to seek further assistance on how to hide category and tags in every blog post, so that the only thing visible are the published date and leave comment options.

    I am using a customized Suits theme, by the way (http://gorjaeous.com).

    Many thanks in advance,
    Jae

    The blog I need help with is gorjaeous.com.

    #1600066

    justpi
    Member

    Try this:

    .entry-meta {
    font-size: 0;
    }
    .entry-meta .on-date a, .entry-meta .leave-reply {
    font-size: 1.38rem;
    }
    .entry-meta .on-date a:after {
    content: " | ";
    }

    #1600084

    gorjaeous
    Member

    Thank you for your prompt response, @justpi; however, please could you clarify if I simply have to paste this onto the CSS field or is there anything else that I need to do? As I’ve mentioned earlier, I’m not very articulate with CSS editing.

    Thanks again,
    Jae

    #1600085

    justpi
    Member

    You’re welcome.
    You haven’t added any other custom CSS, so you go to Appearance > Customize > CSS, delete the entire intro message, copypaste the above, save.

    #1600086

    gorjaeous
    Member

    Ah, it’s good to know that’s all I have to do. Let me do so now, and I’ll get back to you, pronto.

    Thanks,
    Jae

    #1600087

    gorjaeous
    Member

    IT WORKED! You’re a genius, @justpi. Many thanks again!

    #1600089

    justpi
    Member

    You’re welcome!
    There’s one thing that needs fixing: the date link is underlined but the comment link isn’t. What do you prefer? remove the line from the date link or add the same line to the comment link?

    #1600090

    gorjaeous
    Member

    Keen eye, you got there. Well, for aesthetic purposes, I’d prefer to add the same line to the comment link since everything else looks that way (I think?).

    Thanks,
    Jae

    #1600091

    justpi
    Member

    Ok! In that case turn this:

    .entry-meta .on-date a, .entry-meta .leave-reply {
    font-size: 1.38rem;
    }

    to:

    .entry-meta a {
    border: 0 none;
    }
    .entry-meta .on-date a, .entry-meta .leave-reply {
    border-bottom: 1px solid #EEEEEE;
    font-size: 1.38rem;
    }

    #1600092

    gorjaeous
    Member

    Hmm I must have done something wrong… The change did not materialize, I think?

    I pasted the following:

    .entry-meta a {
    border: 0 none;
    }
    .entry-meta .on-date a, .entry-meta .leave-reply {
    border-bottom: 1px solid #EEEEEE;
    font-size: 1.38rem;
    }

    #1600093

    gorjaeous
    Member

    I take it back! I did not follow instructions properly, my apologies. It now looks the way I wanted. Many thanks, @justpi!

The topic ‘Hiding Category and Tags in Every Post’ is closed to new replies.