Support » Fixing WordPress » Twenty Seventeen thick underline on a:hover

  • Resolved GoldSaint

    (@goldsaint)


    How can I edit/remove the thick, ugly underline on a:hover in Twenty Seventeen Theme?

    • This topic was modified 3 years, 6 months ago by GoldSaint.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Support Team Volunteer

    Yeah, not my favorite.

    .entry-content a:focus, .entry-content a:hover, .entry-summary a:focus, .entry-summary a:hover, .widget a:focus, .widget a:hover, .site-footer .widget-area a:focus, .site-footer .widget-area a:hover, .posts-navigation a:focus, .posts-navigation a:hover, .comment-metadata a:focus, .comment-metadata a:hover, .comment-metadata a.comment-edit-link:focus, .comment-metadata a.comment-edit-link:hover, .comment-reply-link:focus, .comment-reply-link:hover, .widget_authors a:focus strong, .widget_authors a:hover strong, .entry-title a:focus, .entry-title a:hover, .entry-meta a:focus, .entry-meta a:hover, .page-links a:focus .page-number, .page-links a:hover .page-number, .entry-footer a:focus, .entry-footer a:hover, .entry-footer .cat-links a:focus, .entry-footer .cat-links a:hover, .entry-footer .tags-links a:focus, .entry-footer .tags-links a:hover, .post-navigation a:focus, .post-navigation a:hover, .pagination a:not(.prev):not(.next):focus, .pagination a:not(.prev):not(.next):hover, .comments-pagination a:not(.prev):not(.next):focus, .comments-pagination a:not(.prev):not(.next):hover, .logged-in-as a:focus, .logged-in-as a:hover, a:focus .nav-title, a:hover .nav-title, .edit-link a:focus, .edit-link a:hover, .site-info a:focus, .site-info a:hover, .widget .widget-title a:focus, .widget .widget-title a:hover, .widget ul li a:focus, .widget ul li a:hover {
      box-shadow: initial;
      -webkit-box-shadow: initial;
    }

    should remove it.

    To add CSS: If you are using WordPress 4.7, use the “Custom CSS” option in the customizer. If your theme has a custom CSS option, use that to add the CSS shown above. If not, install the plugin Simple Custom CSS. Or, if you have Jetpack installed, enable its Custom CSS module.

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

    Really thanks, it works!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @goldsaint, Please make sure you post in the theme’s support section: https://wordpress.org/support/theme/twentyseventeen/#new-post

    Thanks a lot sterndata, very nice. +!Important did the job for me. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twenty Seventeen thick underline on a:hover’ is closed to new replies.