Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-07-2013, 10:15 PM   PM User | #1
cm123077
New Coder

 
Join Date: Aug 2012
Posts: 83
Thanks: 4
Thanked 0 Times in 0 Posts
cm123077 is an unknown quantity at this point
Need help changing a:href color

I am just trying to make the hashtagged links in the twitter feed at the bottom of the page the same color as the rest of the tweet text, but I can not seem to get it to do this. Can someone help me out, please?

http://projectmartinfamily.com/
__________________
BioStream
http://biostreamcompost.com
cm123077 is offline   Reply With Quote
Old 03-07-2013, 11:06 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello cm123077,
You have all these entries in your CSS that will color those links.
Code:
element.style {
    color: #877F63;
}
.tweets a {
    color: #0083B3;
    text-decoration: none;
}
.mt_text a {
    color: #A6A6A6;
    text-shadow: 1px 1px 1px #FFFFFF;
}
.footer-widget a {
    color: #A6A6A6;
    text-shadow: 1px 1px 1px #FFFFFF;
}
a {
    color: #00B7F3;
    text-decoration: none;
}
Which one colors them all depends on which one you remove and the specificity of what's left. Right now it's the top one, the inline styles on the links in the markup, that is coloring them.

Once you get rid of all of those, this will probably work for you (added the bit hightlighted in red) -
Code:
	#footer-widgets .tweets,
#footer-widgets .tweets a {
    color: #A6A6A6;
    line-height: 21px;
    text-shadow: 1px 1px 1px #FFFFFF;
}

...
Ok, I just tried it and it gets some of those links but not all. You really need to get FireBug for FireFox to be able to see what all is affecting those links. Your CSS is just too big and convoluted to edit without it.
To add to your difficulties, that inline text color seems to come from some js somewhere
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:45 PM.


Advertisement
Log in to turn off these ads.