Menu Rollover Link Color

This topic contains 7 replies, has 2 voices, and was last updated by  Simone 9 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #27891

    kelsey.rahenkamp
    Expired Member
    Post count: 53

    Help, for some reason I figured out how to change a single menu item’s color, but not the rollover text color. My site is bluegrassbrides.com/staging and you can see my login link is colored differently. However, when you roll over it, I want the text to be white. What is the css code I need to do that?

    #27895

    Simone
    Expired Member
    Post count: 3515

    Hello, this should do the trick

    
    
    #access a:hover {
    color:#ffffff;
    }
    

    if you also want the border to be white add

    border-color:#ffffff;

    after the color value

    #27900

    kelsey.rahenkamp
    Expired Member
    Post count: 53

    I tried that and it doesn’t seem to work. Also, even if it worked, wouldn’t it changed the entire menu’s text color? I only want the last menu item’s color to be changed.

    #27901

    Simone
    Expired Member
    Post count: 3515

    sorry, this should be it:

    
    
    #menu-item-1593 a:hover{
    color:#ffffff;
    }
    #27914

    kelsey.rahenkamp
    Expired Member
    Post count: 53

    I’ve actually tried that already and it isn’t working. I have put it in both my child theme CSS and the Geodirectory script section. I have cleared my cache and checked other browsers. It doesn’t seem to be working. Ugh, this seems like it should be a simple fix!

    #27917

    Simone
    Expired Member
    Post count: 3515

    try with the !important

    
    
    #menu-item-1593 a:hover{
    color:#ffffff !important;
    }
    #27920

    kelsey.rahenkamp
    Expired Member
    Post count: 53

    It worked, thank you!

    #27921

    Simone
    Expired Member
    Post count: 3515

    You’re welcome :]

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket