link color in widgets

Home Forums Automattic On a Whim link color in widgets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #163211 Resolve

    eliserobins

    How do you change the color of links (and hover) in widgets in On a Whim?

    The blog I need help with is stangerandrobins.com
    #163212

    Kathryn P.
    Happiness Engineer

    This should take care of most widget link colours. You can change the purple (bb00bb) and white (ffffff) colour codes to whatever you prefer.

    .widget-area .widget a, .widget-area .widget:nth-child(2n+1) a {
        color: #bb00bb;
    }
    
    .widget-area .widget a:hover, .widget-area .widget:nth-child(2n+1) a:hover {
        color: #ffffff;
    }

    Certain widgets may need additional classes specified, so if you run into any, you can either use a browser inspector to identify the right class to target, or post again here for assistance.

    #163213

    eliserobins

    Thanks so much, this worked perfectly!

    #163217

    Kathryn P.
    Happiness Engineer

    Great, glad that did the trick! I’ll mark this thread as resolved but feel free to start a new one if you need further help.

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

You must be logged in to reply to this topic.