Title: Hyperlink formatin
Last modified: May 25, 2020

---

# Hyperlink formatin

 *  Resolved [wvlg](https://wordpress.org/support/users/wvlg/)
 * (@wvlg)
 * [6 years ago](https://wordpress.org/support/topic/hyperlink-formatin/)
 * Hello again!
 * How to format the Hyperlink text? I tried the obvious solutions like:
 * #wrap a {
    font-weight: bold; }
 * or
 * .content a {
    font-weight: bold; }
 * nothing works! I’d like to have all the hyperlinks underlined and bold
 * regards
 * Florian

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

 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [6 years ago](https://wordpress.org/support/topic/hyperlink-formatin/#post-12888349)
 * Hey Florian,
 * This CSS will make these changes to all hyperlinks within the post and page content
   areas:
 *     ```
       .post-content a {
         text-decoration: underline;
         font-weight: 700;
       }
       ```
   
 *  Thread Starter [wvlg](https://wordpress.org/support/users/wvlg/)
 * (@wvlg)
 * [6 years ago](https://wordpress.org/support/topic/hyperlink-formatin/#post-12895343)
 * With this code, the hyperlinks now all bold. but still not underlined….
 * Any ideas?
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [6 years ago](https://wordpress.org/support/topic/hyperlink-formatin/#post-12896170)
 * Looking at this again, and the links are actually underlined by default in Chosen
   which means there is CSS in a plugin or some custom CSS changing this behavior.
 * Since I can’t see the site live to know exactly what needs to be overridden, 
   we can use an `!important` tag as a method to force the new styles to apply:
 *     ```
       .post-content a {
         text-decoration: underline !important;
         font-weight: 700;
       }
       ```
   
 * And here’s a really strong override just in case the previous one doesn’t take
   effect:
 *     ```
       #main #loop-container .post-content a {
         text-decoration: underline !important;
         font-weight: 700;
       }
       ```
   
 *  Thread Starter [wvlg](https://wordpress.org/support/users/wvlg/)
 * (@wvlg)
 * [6 years ago](https://wordpress.org/support/topic/hyperlink-formatin/#post-12898209)
 * Done! `!important` was enough. But it must come from the theme. because the underlining
   did not show up even in maintenance mode all plugins turned off.
 * Thx anyway

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

The topic ‘Hyperlink formatin’ is closed to new replies.

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

## Tags

 * [hyperlinks](https://wordpress.org/support/topic-tag/hyperlinks/)

 * 4 replies
 * 2 participants
 * Last reply from: [wvlg](https://wordpress.org/support/users/wvlg/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/hyperlink-formatin/#post-12898209)
 * Status: resolved