Support » Fixing WordPress » Removing hover link color

  • I need help with a custom CSS that would remove the a hover color for all links – keeping the link the original color whether mouseover or previously visited site.

    Is there a custom CSS code that I can add that will wipe out all color changing, keeping text and links the original color?

    • This topic was modified 1 month, 3 weeks ago by  .

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Please provide a link to a page on your site where we can see this. Thanks. The necessary CSS depends on your theme, so we need to see your site.

    Added in the original message the theme demo.

    Look at the menu at top: City Calendar, etc. and the posts in the body. Could CSS be added to change the hover color of those elements?

    Then look at the side bar widgets Bike Rental and Library. Remove the gold hover.

    Ideally, if it is easier, remove all hover colors.

    Also, ex: Calendar at top, I don’t want it to show the visited link color.

    • This reply was modified 1 month, 3 weeks ago by  .
    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    #site-secondary-nav a:hover, #site-secondary-nav a:focus {
       color: #333;
    }
    a:hover, a:focus {
       color: #0a63bd;
    }

    To add or override CSS: use the “Additional CSS” option in the customizer. https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress

    Learn to use the Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS.

    Is there anyway to remove all a:hover regardless of menu, widget, post, etc.?

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Yes, you have to add to the list I started above. You might also contact the developers of your theme.

    Learn to use the Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS.

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