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 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    58
    Thanks
    29
    Thanked 1 Time in 1 Post

    How to change link color?

    Go to this site here.

    How to change the text link color from black to blue? I need the text link show in blue... which file and which line of code do I tweak?



    thanks for helping out!
    Last edited by pumalean; 08-17-2014 at 02:46 AM.

  • #2
    New to the CF scene
    Join Date
    Apr 2012
    Location
    Singapore
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi Pumalean,

    Try this.
    Code:
    #nav2 a {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 1px solid #DDDDDD;
    color: blue;
    }
    Regards,
    Chris

  • Users who have thanked ChrisTan for this post:

    pumalean (08-17-2014)

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,919
    Thanks
    79
    Thanked 4,423 Times in 4,388 Posts
    And you can also do something like this:
    Code:
        #nav2 a:hover { color: red; }
    to make it more obvious that the user is hovering over the link and able to click it.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • Users who have thanked Old Pedant for this post:

    pumalean (08-17-2014)

  • #4
    New to the CF scene
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks! I already knew how to color the font but I've been wondering how to change the color when you hover over it. Awesome!

  • #5
    New to the CF scene
    Join Date
    Apr 2012
    Location
    Singapore
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi,

    Try this to change font color on hover
    Code:
    #nav2 li a:hover {
    background: #3b5998;
    color: #FFFFFF;
    }
    }
    Regards,
    Chris


  •  

    Posting Permissions

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