Support » Theme: Senses Lite » Cannot style hyperlinks (a:hover)

  • Resolved erikmbush97

    (@erikmbush97)


    Hello. I am trying to style my links on all my pages.
    I put this code into Appearance > Customize additional CSS:

    .entry-content a {
    color: 	#1B0D7E;
    }
    .entry-content a:hover,
    .entry-content a:visited{
    color: #664D7A;
    }

    *
    “.entry-content a:hover,” is the only one that

      does not work.

    How can I make links this color (#664D7A) upon hover?

    • This topic was modified 3 years, 10 months ago by erikmbush97.
    • This topic was modified 3 years, 10 months ago by erikmbush97.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Hi,

    I have checked your code is correct. It should work unless this code has been override. To overcome this issue you can add following code instead.

    .entry-content a:hover, .entry-content a:visited {
        color: #664D7A!important;
    }

    Thanks

    Thread Starter erikmbush97

    (@erikmbush97)

    Awesome, adding “!important” as you suggested worked flawlessly thank you!

    I tried !Important before but i must have put it in the wrong place because it changed the color for all buttons on my site instead of just on links… but it’s working now like i said so thank you very much once again

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Hello @erikmbush97,

    Glad it worked.
    If you are satisfied with the theme and the support provided please consider leaving a rating and review for us for the Senses Lite theme:
    https://wordpress.org/support/theme/senses-lite/reviews/

    Your feedback is much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot style hyperlinks (a:hover)’ is closed to new replies.