Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   [SOLVED] Link color in comment area (http://forum.bytesforall.com/showthread.php?t=18881)

Marco Boerner Nov 10, 2012 08:50 PM

[SOLVED] Link color in comment area
 
Hi there!

Tried to find a solution in the forum but couldn't find any. I have the following problem.

I changed the background color and text color of my comment field, I have now the following CSS in the comment form style are:

margin: 25px 0;
padding: 25px;
background: #222222;
color: #ffffff;
-moz-border-radius: 8px;
-khtml-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;

Everything looks fine except the links are still in black the way I set it up for the rest of the theme, how can I change the link color of the comment area only? I tried adding something like this here:

a:link {color:#FF0000;}
a:visited {color:#00FF00;}
a:hover {color:#FF00FF;}
a:active {color:#0000FF;}

but assume it's the wrong way of doing that. Does anyone know how to do that right?

Thanks in advance! :-)

juggledad Nov 11, 2012 04:37 AM

you will need to add some code to the CSS Inserts option and target the links in the comments. You should use FireBug in FireFox to examine the page and see what elements there are to use as your CSS selector. Try this
HTML Code:

div#respond a:link {color:#FF0000;}
div#respond a:visited {color:#00FF00;}
div#respond a:hover {color:#FF00FF;}
div#respond a:active {color:#0000FF;}


Marco Boerner Nov 11, 2012 07:48 AM

That worked perfect! I completely looked at the wrong place. Should use Firebug more often too!

Thank you a lot! :)


All times are GMT -6. The time now is 02:18 PM.

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