WordPress.org

Ready to get started?Download WordPress

Forums

how to add display:none for only one category's single posts? (1 post)

  1. mixmastermichael
    Member
    Posted 2 years ago #

    Hi There,

    If you go to this url below, there's this light green "print friendly" icon that I need NOT to appear in this EAT category's single posts only (not only this post, but all of the ones in this category)....
    http://soffiawardy.com/blog/eat/tomato-and-feta-tart/

    So, I think that I am on the right track with this... I want to just amend the style sheet as display:none; for a categoy specific id ....

    When I look at the tag # of the one that the EAT category is, it's #14. But I just don't know how I can place the appropriate style on the .css so that it actually works and does not display the button... can anyone steer me in the right direction?

    This is the way I've set it up for now.

    .cat-ID-14 .printfriendly a img {
    display:none;
    }

    I remember I can do something like this for specific pages/pages, by looking at the id # but does anyone know how I can do this for Category #s?

    Any help would be greatly appreciated.

    Thanks

    [No bumping, thank you.]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.