• Resolved Gokul PM

    (@icemelting)


    Hi,

    When I click any link, the background of the link becomes black and text color becomes white. How to tweak this? For example, the background color should become blue, and the text color becomes red.

    I tried a:hover, a:visited, a:active, a:enabled in the additional css with color property, but unable to get it work.

    Any help or direction is appreciated.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Gokul PM

    (@icemelting)

    Hi @domainsupport,

    Thank you for direction.

    It still doesn’t work. I don’t have a problem with the primary navigation menu. It’s about the links lying around. Thanks.

    Regards,
    Gokul PM

    Oliver Campion

    (@domainsupport)

    Hi,

    Can you please provide a link to a page that contains an example link we can inspect please?

    Thanks,

    Oliver

    Thread Starter Gokul PM

    (@icemelting)

    Hi @domainsupport,

    Sure. Kindly check out the following page.

    https://gokulpm.com/gallery/twentytwentyone/

    When you click the site-title, a black background appears and the text turns white.

    Thank you.
    Gokul PM

    Oliver Campion

    (@domainsupport)

    Hi @icemelting, sorry, been away for a while. Please try adding this to “Customizer – Additional CSS” …

    .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
        background-color: transparent;
    }

    … which should resolve the black background on site title focus.

    Thread Starter Gokul PM

    (@icemelting)

    Thanks for the help @domainsupport!

    It’s resolved now.

    Regards,
    Gokul PM

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change the on-click color of links?’ is closed to new replies.