Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   RSS, Feeds & Subscribing (http://forum.bytesforall.com/forumdisplay.php?f=18)
-   -   Trying to change link color on one page (http://forum.bytesforall.com/showthread.php?t=2905)

lilkush Aug 11, 2009 12:16 PM

Trying to change link color on one page
 
Hi! I'm trying to change the color of a link on just my home page (http://lizkushner.com) so that it doesn't blend into the background I've created for that page. Suggestions? Also, I'm fairly new to WordPress, so feel free to be as specific as possible in your answer! Thanks!

Flynn Aug 11, 2009 01:13 PM

You're using an older Atahualpa version so things like body CSS classes are not available. In your case I'd suggest that you either 1) give that link a class and put the CSS style for it into HTML/CSS Inserts -> CSS Inserts, or 2) put the CSS right into the link ("inline").

1.)

<a class="my-link" href="...">....</a>

CSS Insert:

a.my-link:link,
a.my-link:visited,
a.my-link:active,
a.my-link:hover {
color: #123456;
}


2.)

<a style="color:#123456" href="...">....</a>

lilkush Aug 11, 2009 03:02 PM

That did the trick - thanks!


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

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