Title: Underlining links
Last modified: August 22, 2016

---

# Underlining links

 *  Resolved [twoflour](https://wordpress.org/support/users/twoflour/)
 * (@twoflour)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/)
 * I’m having trouble with this too, and tried the suggestions in the earlier thread
   about this, without success.
 * Using
 *     ```
       a: link {
       text-decoration: underline;
       }
       ```
   
 * works fine, except that it underlines the menu items & blog post titles.
 * I tried adding in the .entry-content but clearly my alteration is not correct
   as we go back to no underlining at all.
    Tried both of these with no result..
 *     ```
       .entry-content a {
       text-decoration:underline;
       }
       ```
   
 *     ```
       .entry-content a:link {
       text-decoration:underline;
       }
       ```
   
 * Any ideas what I’m doing wrong? Thanks.
 * Really nice theme by the way. 🙂

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889519)
 * Hey,
    It is easy for a post to get over-looked when it is marked as resolved.
   Sorry about that:) Try adding this css:
 *     ```
       p a {
       text-decoration: underline !important;
       }
       ```
   
 * Hope that works!
 * Hannah
 *  Thread Starter [twoflour](https://wordpress.org/support/users/twoflour/)
 * (@twoflour)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889521)
 * Hi Hannah,
 * Thanks so much for your speedy reply. It seems to have worked a treat. 🙂
    And
   yeah, I figured I’d need to start a new thread to get noticed.
 * -Lynn-
 *  Thread Starter [twoflour](https://wordpress.org/support/users/twoflour/)
 * (@twoflour)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889524)
 * Hey Hannah,
 * Clicked resolved too quickly.
    I’ve just noticed that this doesn’t work with 
   bullet point lists and when I add in
 *     ```
       ul a {
       text-decoration: underline !important;
       }
       ```
   
 * or
 *     ```
       li a {
       text-decoration: underline !important;
       }
       ```
   
 * The page menu becomes underlined. :/
    Do I have any options on this one?
 * Thanks.
    Lynn
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889525)
 * twoflour, can you post a link?
 * Kadence Themes
 *  Thread Starter [twoflour](https://wordpress.org/support/users/twoflour/)
 * (@twoflour)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889526)
 * This is with
 *     ```
       ul a {
       text-decoration: underline !important;
       }
       ```
   
 * in the custom css
 * [http://testing.nchenz.org.nz](http://testing.nchenz.org.nz)
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889559)
 * I’m only seeing bullet points in your sidebar. Do you have them anywhere else?
   If not you could try using this:
 *     ```
       .sidebar a:link {
       text-decoration: underline;
       }
       ```
   
 * Hannah
 *  Thread Starter [twoflour](https://wordpress.org/support/users/twoflour/)
 * (@twoflour)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889590)
 * Hi Hannah,
 * We’re using column layout so no sidebars. A friend & colleague has suggested 
   these changes, which seem to work just fine.
 *     ```
       ul a {
       text-decoration:underline;
       }
   
       #nav-main ul.sf-menu a {
       text-decoration:none;
       }
       ```
   
 * -Lynn-
 *  [wargin](https://wordpress.org/support/users/wargin/)
 * (@wargin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889804)
 * Hey, same issue. I would like the links to be underlined. Used your suggestion:
 * p a {
    text-decoration: underline !important; }
 * that worked, except I would like to exclude it from appearing in my buttons.
 * suggestions?
 * Many thanks,
    ~ginger
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889805)
 * Hey Ginger,
    That css shouldn’t be applying to buttons? Can you please start 
   a new thread and provide a link to your site? Thanks,
 * Hannah

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

The topic ‘Underlining links’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [hannah](https://wordpress.org/support/users/hannahritner/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/underlining-links/#post-5889805)
 * Status: resolved