How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Child Themes support Cannot Change Hyperlink color

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7007
    Carlos
    Participant

    Hi,

    I can’t change the hypertext color of the child theme Casino Ace.

    I use te css code:

    /* Standard links */
    a {
    color: #b64f68;
    }

    /* Visited links */
    a:visited {
    color: #ca7489;
    }

    /* Hover links */
    a:hover {
    font-weight: bold;
    }

    I put the code in the Theme Editor. See screenshot:
    https://prnt.sc/psy9ej

    Is that correct?
    And what is the code for UNDERLINE?

    Thanx

    #7008
    Carlos
    Participant

    Forgot to say:

    Maybe an easy setting in the theme is possible?

    What I find strange is that links in a LIST are very beautiful blue.

    and a random hyperlink text standard not?

    See screenshot:
    https://prnt.sc/psyh7g

    #7035
    admin
    Keymaster

    Hi Carlos,

    It is not working because your style is been override by the style of the parent theme.
    If you inspect the grey link with the Inspector of Developer tools you’ll see that the CSS for these links is:
    `.entry-content p a:not(.btn) { color:red; }`
    (change the red color to anything you want)

    So in order for your style to work you need a similar or more specific CSS rule.

    #7048
    Carlos
    Participant

    Ok, now I have changed the color to # 108AF9 and how do I make the link color definitive for all hyperlinks? Doing manually every time is also not doing.
    See: https://prnt.sc/pu9xvp

    You can always adjust the color manually via the COLOR SETTINGS menu in wordpress, but this is also time-consuming.
    See:
    https://prnt.sc/pu9wag

    #7085
    Carlos
    Participant

    OK, it works! I put the code:
    .entry-content p a:not(.btn) { color:red; }

    in the “customize” section under CSS code, that works 🙂

    Tnx for the solution

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