Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2012
    Posts
    83
    Thanks
    4
    Thanked 0 Times in 0 Posts

    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/

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •