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 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Changing twitter link colour..

    I have a slightly customised twitter feed on my website. The text itself is black but the bottom link to twitter is blue. Any ideas on how to set it to black? Thanks for your time.

  • #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 ashley78,
    a:link {color: #000;} would make it black. We'd need to see your code to make that more specific, a link to your site would be best.
    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

  • #3
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Here's the link to site http://www.bearresponseteam.co.uk

    .. and the code <DIV id=twitter_div>
    <H2 style="DISPLAY: none">&nbsp;</H2>
    <UL style="FONT-FAMILY: Courier New, Courier, Monospace; FONT-SIZE: 10pt" id=twitter_update_list><A style="TEXT-ALIGN: right; DISPLAY: block" id=twitter-link href="http://twitter.com/user"></A></UL></DIV>
    <SCRIPT type=text/javascript src="http://twitter.com/javascripts/blogger.js"></SCRIPT>

    <SCRIPT type=text/javascript src="http://twitter.com/statuses/user_timeline/user.json?callback=twitterCallback2&amp;count=1"></SCRIPT>
    Last edited by ashley78; 12-20-2010 at 07:56 PM.

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    That is not text. That is this button image -

    To change the color would require a new image...maybe twitter has some you can pick from? Don't know.
    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

  • #5
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Sorry, that's a share button at bottom of page. Feed is on left hand side of page.
    This should be the text used..

    <DIV id=twitter_div>
    <H2 style="DISPLAY: none">&nbsp;</H2>
    <UL style="FONT-FAMILY: Courier New, Courier, Monospace; FONT-SIZE: 10pt" id=twitter_update_list><A style="TEXT-ALIGN: right; DISPLAY: block" id=twitter-link href="http://twitter.com/user"></A></UL></DIV>
    <SCRIPT type=text/javascript src="http://twitter.com/javascripts/blogger.js"></SCRIPT>

    <SCRIPT type=text/javascript src="http://twitter.com/statuses/user_timeline/user.json?callback=twitterCallback2&amp;count=1"></SCRIPT>

  • #6
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Ahh, shows how much I know about Twitter.

    Add this to your CSS to change that text black - #twitter_update_list a:link {color: #000;}

    You could style that further if you like, adding different colors for visited, hover and active states. Have a look at styling links here.
    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

  • Users who have thanked Excavator for this post:

    ashley78 (12-20-2010)


  •  

    Posting Permissions

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