Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


  #1  
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! :-)
  #2  
Old Nov 11, 2012, 05:37 AM
juggledad's Avatar
juggledad
 
23,765 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
  #3  
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!

Bookmarks



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:28 AM.


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