WordPress.org

Forums

[resolved] how to make styles for links seperate from body and widget (3 posts)

  1. wrona
    Member
    Posted 2 years ago #

    I want to make the links in the body one color and the links in the widget area another. Is there any way to make the widget and body links separate from one another in my site?

    Every time I change the color in the body, it affects the widget links as well. I don't want that.

    I want all the links in the body such as here, one color:
    http://seppukutattoo.info/faqs/

    I want all the links in the widget area, another color:
    http://seppukutattoo.info/matt-lukesh/

  2. Prasanna SP
    Member
    Posted 2 years ago #

    Add this to your theme's style sheet (style.css) or in Custom CSS (if your theme supports)

    .widget a {
        color: #123456;
    }

    You can change #123456 to any other. Just enter the valid HEX colour code. Colour-Picker: http://www.colorpicker.com/

  3. wrona
    Member
    Posted 2 years ago #

    Wow... you fixed it! THANK YOU SO MUCH! I was putting a.widget and a:widget instead of .widget a

    Ahh, the little technicalities of code...

Topic Closed

This topic has been closed to new replies.

About this Topic