Title: Changing Hyperlink Colors?
Last modified: March 7, 2017

---

# Changing Hyperlink Colors?

 *  [Tenshi Kitsu](https://wordpress.org/support/users/ichiten/)
 * (@ichiten)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/changing-hyperlink-colors/)
 * Do I have to code changes like link colors and behavior?

Viewing 1 replies (of 1 total)

 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/changing-hyperlink-colors/#post-8885685)
 * This would change the default blue link colour in P2:
 *     ```
       a, a:visited, h1 a:visited, a:active, #main .selected .actions a, #main .selected .actions a:link, #main .selected .actions a:visited, #help dt, #media-buttons .button {
         color: #97C769;
       }
       ```
   
 * Change the example green to anything you like.
 * Don’t edit the theme files directly, otherwise your changes will be overwritten
   every time the theme is updated.
 * An easy way to add custom CSS is to use the CSS editor included in the Customizer
   as of WordPress 4.7. Head to Appearance > Customize > Additional CSS to add your
   custom CSS. Since you’re already using Jetpack, another easy way to add custom
   CSS is to activate the [Custom CSS](http://jetpack.me/support/custom-css/) module.
   You’ll then add your custom CSS in the new stylesheet editor that’ll appear in
   your dashboard, under Appearance > Edit CSS.
 * Let me know how it goes.
    -  This reply was modified 9 years, 3 months ago by [Kathryn Presner](https://wordpress.org/support/users/zoonini/).
      Reason: fixed mistake in text

Viewing 1 replies (of 1 total)

The topic ‘Changing Hyperlink Colors?’ is closed to new replies.

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

## Tags

 * [color](https://wordpress.org/support/topic-tag/color/)
 * [hyperlink](https://wordpress.org/support/topic-tag/hyperlink/)
 * [links](https://wordpress.org/support/topic-tag/links/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/changing-hyperlink-colors/#post-8885685)
 * Status: not resolved