Site logo

[Resolved] Targeting a category

Home Forums Support [Resolved] Targeting a category

Home Forums Support Targeting a category

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1754977
    Erika

    Hi there,

    instead of a blog page, I created a category page and I am trying to target the .entry-title and the links either by settings in the customizer or by css. However I have a problem with the colors. It looks like that the a:hover of the entry-title is white and I can´t get the links (author-name and more…) get the color I want. After spending two hours on it, could you take a look, please? What do I do wrong?
    Thank you, Erika

    #1755234
    David
    Staff
    Customer Support

    Hi there,

    in Customizer > Colors > Content you have the following color options:

    Archive Content Title
    Archive Content Title Hover
    Entry Meta Text
    Entry Meta Links
    Entry Meta Links Hover

    The first two are specific to the archive content title – the others will apply to the archives and the single post.

    Let me know if that resolves the issue.

    #1755395
    Erika

    Hi David,

    these settings I know. However, the visited links are sometimes white and I can´t figure out why. Also the “more” link is not green, except I add this extra css.

    I have added this css:
    .cat-11-id a:hover {text-decoration:underline !important;}

    .cat-11-id a:visited {color:#3fa535 !important;}

    .cat-11-id .read-more a:link, a:visited {color:#3fa535 !important;}

    .cat-11-id .read-more a:hover {text-decoration:underline !important;}

    But not even with !important does it behave right. No underlining and it also seems that the primary navigation has changed its color as well. I send you two screenshots in the private information.

    Can you figure out what is wrong?

    Thanks, Erika

    #1755980
    Ying
    Staff
    Customer Support

    Hi Erika,

    You are using the incorrect CSS class for the category page, try .category-11 instead of .cat-11-id.

    Let me know how it works 🙂

    #1756041
    Erika

    Hi Ying,

    thanks a lot, I had the idea that I was doing something wrong… It works now 😉

    #1756096
    Ying
    Staff
    Customer Support

    Awesome 🙂

    You are welcome!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.