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 03:46 AM.

  2. #2
    New Coder
    Join Date
    Apr 2012
    Location
    Singapore
    Posts
    10
    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

  3. Users who have thanked ChrisTan for this post:

    pumalean (08-17-2014)

  4. #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    29,698
    Thanks
    93
    Thanked 4,947 Times in 4,908 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.
    Be yourself. No one else is as qualified.

  5. Users who have thanked Old Pedant for this post:

    pumalean (08-17-2014)

  6. #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!

  7. #5
    New Coder
    Join Date
    Apr 2012
    Location
    Singapore
    Posts
    10
    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
  •