• 0
Sign in to follow this  
Followers 0

Want to change color of widget links

Question

Posted · Report post

I want the links in my sidebar widget to be white, but the links everywhere else on my site to be dark green. I set all links to be the dark green color in the Design Control panel. Then I wrote custom code for my widget text as follows:

	.widget ul li a{
		                        text-decoration: none;
					color: #fff;
				}
				.widget ul li a:hover{
		                        text-decoration: none;
	                                font-weight:bold;
					color: #000;

This appears to work. But I noticed when I cleared my browser cache, that all of my links throughout the site start out white, but turn dark green once they've been visited. Please help!

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

You can refine those rules by adding a unique class/id to the front of those rules. Use a web toolbar like firebug for firefox to inspect the widget in question to get some more specific selectors to add.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0