Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   [SOLVED] Change Link Style for Single Page (http://forum.bytesforall.com/showthread.php?t=9822)

c12281 Sep 22, 2010 09:56 PM

[SOLVED] Change Link Style for Single Page
 
I found a post on this for someone using an older version of Atahualpa but not for the newer version. I'd like to include a body tag in CSS inserts to change the link style for a single page, but haven't been able to come up with the right code. Can you help? Thanks!

lmilesw Sep 22, 2010 11:07 PM

You would start the selector with body.page-id-99 where 99 is the id of the page you want to limit your CSS to. So if you want the link text color to be white on a page with an id of 99 you would use.
HTML Code:

body.page-id-99 a:link {
color: #fff;
}


c12281 Sep 23, 2010 12:22 AM

That's what I tried, but it didn't work. I found another thread with this coding:

body.page-id-373 a {color:#ffffff; font-size:.75em;}

and that worked. Doesn't make sense to me why the other code didn't...


All times are GMT -6. The time now is 11:46 AM.

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