WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] how to make styles for links seperate from body and widget

[Resolved] how to make styles for links seperate from body and widget

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Prasanna SP

    @prasannasp

    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/

    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…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] how to make styles for links seperate from body and widget’ is closed to new replies.