Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] How to override default link & hover colors in RSS widget? (http://forum.bytesforall.com/showthread.php?t=4139)

ericmacknight Oct 31, 2009 12:40 AM

[SOLVED] How to override default link & hover colors in RSS widget?
 
The default link color on my site is #C11B17. The default hover color is #000000.

My widget titles are all #000000, so I'd like the RSS widget title to match them, but it's a link so it shows up as #C11B17.

I tried add this code to HTML/CSS Inserts, CSS Inserts, but it didn't work:

div.widget_rss div.widget-title a:link {
font-color: #000000;
}
div.widget_rss div.widget-title a:hover {
font-color: #C11B17;
}

How can I change the link color and hover color of my RSS widget title without changing the defaults for the whole site?

Site is here: http://www.EricMacKnight.com/

juggledad Oct 31, 2009 05:04 AM

you need to use 'color' instead of 'font-color' and add the !important
HTML Code:

div.widget_rss div.widget-title h3 a:link {
color: #000000 !important;
}
div.widget_rss div.widget-title h3 a:hover {
color: #C11B17  !important;
}


ericmacknight Oct 31, 2009 05:17 AM

Brilliant!

Many, many thanks! :)


All times are GMT -6. The time now is 10:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.