• Resolved mattack

    (@mattack)


    I have a few questions about links and link colors.

    • How can I remove the underline for links? I tried adding A:link, A:visited, A:active { text-decoration: none } as custom CSS. That didn’t work.
    • How can I make the active link color the link color, or can I make the accent color just the link color (and not the lines)? Either way is fine with me, which ever is easier.

    I have a child theme with a few other modifications I’ve made… So I guess I just need the files to modify.

    Thanks. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • Tareq

    (@worthingtech)

    What you’ve already tried should work. Post a link to your site and I’ll have a look myself.

    Thread Starter mattack

    (@mattack)

    Thanks. https://www.automattack.net/blog/

    FWIW, I tried in in two places; Appearance -> Edit CSS, and in the theme customizer -> Other Options -> Custom CSS.

    Both are set now, neither seems to work.

    Followup question, which of the two options is the best?

    Tareq

    (@worthingtech)

    You’re better off adding it to the Custom CSS in the Theme Customizer – mainly because all that does is leaves the base styles alone and appends your styles as if it were a child theme.

    I may have to look at this a little later as I’m on my way out to meet a client.

    Thread Starter mattack

    (@mattack)

    Okay, I removed it from Appearance -> Edit CSS, and changed it to a:link, a:visited, a:active { text-decoration: none } (lowercase a). Still no go.

    Thanks.

    See the CustomCSS file in the docs folder. It has examples for modifications like this. In this case, you will want to add .no-touch .entry-content a:hover { border-bottom: none; } in the Custom CSS field.

    Thread Starter mattack

    (@mattack)

    Awesome! That solved the underline thing. Thanks.

    <del>What about the second bullet in the original post?

    How can I make the active link color the link color, or can I make the accent color just the link color (and not the lines)? Either way is fine with me, which ever is easier.

    Basically, I’d like links to be a different color than the separator lines, I’m not terrible fussed about how that happens…</del>

    Never mind, I can just put a { color: #1e73be } in the Custom CSS too!

    Thanks ton!

    And I can’t think of a way to change the colors like you requested. I’ll keep thinking about an easy way, but generating the colors isn’t an easy change to make.

    Oh! I see you got it sorted. Good to hear and have a nice day!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘questions about links and link color’ is closed to new replies.