Support » Theme: P2 » Changing Hyperlink Colors?

Viewing 1 replies (of 1 total)
  • Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    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 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 2 years, 3 months ago by  Kathryn. Reason: fixed mistake in text
Viewing 1 replies (of 1 total)
  • The topic ‘Changing Hyperlink Colors?’ is closed to new replies.