Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 10, 2012, 08: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! :-)
  #2  
Old Nov 11, 2012, 04:37 AM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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
  #3  
Old Nov 11, 2012, 07: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!

Bookmarks

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 12:21 PM
[SOLVED] Website in comment form leads to author name as a link in the comment list yeahwow Comments, trackbacks & pings 2 Jun 2, 2011 08:34 PM
background color for the border area OUTSIDE the page/blog content area johnh44 Center area post/pages 3 May 4, 2011 02:27 PM
Link to comment on a comment guileshill Comments, trackbacks & pings 2 Jun 28, 2010 05:46 AM


All times are GMT -6. The time now is 11:58 PM.


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