Title: Removing Widget Underlines
Last modified: August 21, 2017

---

# Removing Widget Underlines

 *  Resolved [wayne2346](https://wordpress.org/support/users/wayne2346/)
 * (@wayne2346)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/removing-widgetunderlines/)
 * Hi,
 * On my page I would like to remove the underlines every time I hover over posts
   that are popular or recent.
 * I tried using this CSS but doesn’t work:
 * .colors-dark .widget-title a:hover {
    text-decoration: initial; box-shadow: initial;
   color: #ccc; }
 * Thank you in advance.
    -  This topic was modified 8 years, 9 months ago by [wayne2346](https://wordpress.org/support/users/wayne2346/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremoving-widgetunderlines%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/removing-widgetunderlines/#post-9429152)
 * Are you sure that the default value (that you get with the keyword `inital`) 
   doesn’t imply underlining?
    Have you tried `text-decoration: none;` ?
 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/removing-widgetunderlines/#post-9430903)
 * it’s a long one but try this:
 *     ```
       .colors-dark .entry-content a:focus, .colors-dark .entry-content a:hover, .colors-dark .entry-summary a:focus, .colors-dark .entry-summary a:hover, .colors-dark .widget a:focus, .colors-dark .widget a:hover, .colors-dark .site-footer .widget-area a:focus, .colors-dark .site-footer .widget-area a:hover, .colors-dark .posts-navigation a:focus, .colors-dark .posts-navigation a:hover, .colors-dark .comment-metadata a:focus, .colors-dark .comment-metadata a:hover, .colors-dark .comment-metadata a.comment-edit-link:focus, .colors-dark .comment-metadata a.comment-edit-link:hover, .colors-dark .comment-reply-link:focus, .colors-dark .comment-reply-link:hover, .colors-dark .widget_authors a:focus strong, .colors-dark .widget_authors a:hover strong, .colors-dark .entry-title a:focus, .colors-dark .entry-title a:hover, .colors-dark .entry-meta a:focus, .colors-dark .entry-meta a:hover, .colors-dark.blog .entry-meta a.post-edit-link:focus, .colors-dark.blog .entry-meta a.post-edit-link:hover, .colors-dark.archive .entry-meta a.post-edit-link:focus, .colors-dark.archive .entry-meta a.post-edit-link:hover, .colors-dark.search .entry-meta a.post-edit-link:focus, .colors-dark.search .entry-meta a.post-edit-link:hover, .colors-dark .page-links a:focus .page-number, .colors-dark .page-links a:hover .page-number, .colors-dark .entry-footer .cat-links a:focus, .colors-dark .entry-footer .cat-links a:hover, .colors-dark .entry-footer .tags-links a:focus, .colors-dark .entry-footer .tags-links a:hover, .colors-dark .post-navigation a:focus, .colors-dark .post-navigation a:hover, .colors-dark .pagination a:focus:not(.prev):not(.next), .colors-dark .pagination a:hover:not(.prev):not(.next), .colors-dark .comments-pagination a:focus:not(.prev):not(.next), .colors-dark .comments-pagination a:hover:not(.prev):not(.next), .colors-dark .logged-in-as a:focus, .colors-dark .logged-in-as a:hover, .colors-dark a:focus .nav-title, .colors-dark a:hover .nav-title, .colors-dark .edit-link a:focus, .colors-dark .edit-link a:hover, .colors-dark .site-info a:focus, .colors-dark .site-info a:hover, .colors-dark .widget .widget-title a:focus, .colors-dark .widget .widget-title a:hover, .colors-dark .widget ul li a:focus, .colors-dark .widget ul li a:hover {
           box-shadow: none !important;
       }
       ```
   
 *  Thread Starter [wayne2346](https://wordpress.org/support/users/wayne2346/)
 * (@wayne2346)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/removing-widgetunderlines/#post-9440031)
 * Thank you for your assistance. The CSS was long but worked out.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Removing Widget Underlines’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [wayne2346](https://wordpress.org/support/users/wayne2346/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/removing-widgetunderlines/#post-9440031)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
