Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

[SOLVED] Link color in comment area

Old Nov 10, 2012, 09:50 PM
Marco Boerner
2 posts · Nov 2012
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! :-)
Old Nov 11, 2012, 05:37 AM
juggledad's Avatar
23,729 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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;}
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Nov 11, 2012, 08:48 AM
Marco Boerner
2 posts · Nov 2012
That worked perfect! I completely looked at the wrong place. Should use Firebug more often too!

Thank you a lot!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move the comment author name and reply link below the comment sober Comments, trackbacks & pings 1 Sep 4, 2011 01:21 PM
Website in comment form leads to author name as a link in the comment list --yeah--wow Comments, trackbacks & pings 2 Jun 2, 2011 09:34 PM
background color for the border area OUTSIDE the page/blog content area johnh44 Center area post/pages 3 May 4, 2011 03:27 PM
Link to comment on a comment guileshill Comments, trackbacks & pings 2 Jun 28, 2010 06:46 AM

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

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