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 »

Adding color to link in post


  #1  
Old Jan 12, 2010, 03:42 PM
mikerogers49
 
1 posts · Jan 2010
I would like to add color to a link in a post, like a royal blue. I am linking to another post in the body of a post, but when i try to change the color, the only choice is grey to black. Even if I choose a color in ATO/Body, Text Link/Link Default Color, it wont change to any color but black or gray. Any Ideas?
  #2  
Old Jan 12, 2010, 07:35 PM
juggledad's Avatar
juggledad
 
23,560 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
one way to do this would be to assign the link a class of your own then add a CSS Insert to set the color. For example, if the post was
HTML Code:
if you want to go to MYDOMAIN.COM, then <a class="my_color_class" href='http://mydomain.com'>click here to go to MYDOMAIN.COM</a>
you could then put this in CSS Inserts
HTML Code:
.my_color_class { color: #00ffff !important; }
and all you would have to do to change the color would be to change the insert, or you could code
HTML Code:
.my_color_red { color: red !important; }
.my_color_orange { color: orange !important; }
.my_color_yellow { color: yellow !important; }
.my_color_green { color: green !important; }
.my_color_blue { color: blue !important; }
then just use the appropriate class in the link
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
links inside posts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding e-mail contact link in footer JulianKaruk Post-Kicker, -Byline & -Footer 5 Apr 20, 2012 06:46 PM
Adding a "Post" link to post an article jenyum Post-Kicker, -Byline & -Footer 1 Jun 21, 2010 06:17 AM
Post visited link color dmtompki Post-Kicker, -Byline & -Footer 8 Dec 22, 2009 05:08 AM
Mailpress: change post link color...can't figgure this out. d_random Sidebars & Widgets 3 Jun 10, 2009 11:11 AM
Adding a link to the Footer of my post Hamlet Post-Kicker, -Byline & -Footer 2 May 21, 2009 07:50 PM


All times are GMT -6. The time now is 10:24 PM.


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