If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: Link hover

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Member #
    Hey, I'd like to add a cool effect to my links, but when I add a line of code the color changes to blue.

    My current menu links:

    #topmenulinks > a {
    border-radius: 10px;
    padding: 5px 10px 5px 10px;

    Now if I want to create that effect I have to put that line in:

    -webkit-transition: color .4s linear; -moz-transition: color .4s linear; -ms-transition: color .4s linear; -o-transition: color .4s linear; transition: color .4s linear; border-radius: 10px; padding: 5px 10px 5px 10px; text-decoration:none;
    If I add that line, the effect doesnt works. I have to remove color:#ffffff; from the element first and then it works, but then the links arent white anymore.
    Any suggestions please?


  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2783 times
    #topmenulinks > a:hover {put your effect here; color: (any color OTHER than #FFFFFF}

    Keep your current menu links as they are and add the rule in.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 12:24 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: