Title: Hyperlink color
Last modified: February 12, 2020

---

# Hyperlink color

 *  [IrishCharm](https://wordpress.org/support/users/irishcharm/)
 * (@irishcharm)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/hyperlink-color-10/)
 * Hello,
 * I want to change the color of all the hyperlinks, like hyperlinks in widgets 
   and such.
    I can’t seem to find it in the stylesheet. Thanks in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhyperlink-color-10%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jarret](https://wordpress.org/support/users/jarretc/)
 * (@jarretc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/hyperlink-color-10/#post-12424657)
 * You would just target the anchor link such as using the following in Appearance-
   >Customize->Additional CSS
 *     ```
       a {
       	color: red;
       }
       ```
   
 *  Thread Starter [IrishCharm](https://wordpress.org/support/users/irishcharm/)
 * (@irishcharm)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/hyperlink-color-10/#post-12424677)
 * Thanks, it worked!
 *  [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/hyperlink-color-10/#post-12569143)
 * On a similar note, I put the following in my additional CSS:
 * a {
    color: #000; text-decoration: none; font-weight: bold; }
 * a:hover,
    a:focus, a:active { color: #fff; text-decoration: none; font-weight:
   normal; }
 * Note that the colors are just so I can see what is working. So, with this in 
   place, the link looks bolded and black, but when I mouse over, it becomes unbolded
   but stays black. I can’t figure out what could be causing this.
 * Actually, I just noticed that there is a style that is taking precedence:
 * p.has-text-color a {color:inherit;}
 * Why would this exist? Wouldn’t you always have text color in a paragraph, and
   wouldn’t you always want links to be a different color?
    -  This reply was modified 6 years, 1 month ago by [gregcrowe](https://wordpress.org/support/users/gregcrowe/).
 *  [Jarret](https://wordpress.org/support/users/jarretc/)
 * (@jarretc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/hyperlink-color-10/#post-12569243)
 * [@gregcrowe](https://wordpress.org/support/users/gregcrowe/) inherit in CSS means
   it takes the value from the parent element
 * So with that setting, if the text color is set to blue in the paragraph block,
   it would pull the link color from the element that the block paragraph is contained
   within if that makes sense. This way, even though the font color in the block
   changes, it ensures that the link color remains the same across the rest of the
   content
 *  [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/hyperlink-color-10/#post-12569282)
 * Oh crap, the idiot who is putting the text in set a color in the block! No wonder
   I couldn’t get it to do anything! Sorry to bother, and thanks for your time.

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

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

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

 * 5 replies
 * 3 participants
 * Last reply from: [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/hyperlink-color-10/#post-12569282)
 * Status: not resolved