Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Is it possible to change the link style for just those links within posts (http://forum.bytesforall.com/showthread.php?t=8011)

StudioGal Jul 8, 2010 10:39 AM

[SOLVED] Is it possible to change the link style for just those links within posts
 
I had a question today from a reader who could not locate the links in my posts. I suspect there may be a visual impairment issue going on there, so it got me wondering.

I'm using just regular black type for the posts, and bold grey, not underlined, links (I believe these are the theme's defaults). On hover, the links change color and are underlined.

I believe that if I change the style of links to underlined in the ATOptions, then everything in the sidebars etc. will also change and I don't want that.

Is it possible to style just the links within a post? I'm guessing not, but thought I'd give this a shot.

Thanks!

juggledad Jul 8, 2010 05:38 PM

sure, if you look at the source, you will see that all posts have a class of 'post' so you can use that in a CSS Selector, set your rule and put it all in the CSS Inserts

StudioGal Jul 9, 2010 02:54 PM

Thanks for this, I'll dig out my CSS book and see what I can dredge up from the memory banks.

Donation is overdue from your last help, apologies! I'm headed there now. (And might be back here if I run into difficulty with the selectors - just warning ya.)

Cheers and THANKS so much for your help.

juggledad Jul 9, 2010 03:09 PM

try
HTML Code:

.post-bodycopy a {color:green;}

StudioGal Jul 9, 2010 03:17 PM

Worked like a charm. Thanks again. Still plan to get out my CSS book, it's overdue for a review.


All times are GMT -6. The time now is 09:39 PM.

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