1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Hover on navBar

Discussion in 'Styling and Customization Questions' started by Enguerran A, Feb 8, 2014.

  1. Enguerran A

    Enguerran A Well-Known Member

    Hello, I need to add a hover changing the color for each links on the navBar I have but I don't know how to keep this color displayed.

    I tried that but the colors are displayed only a few times before an other css rules erases the one I added.
    .navTabs .navTab.portal.PopupClosed .navLink:hover
    {
    color: orange !important;
    }
    .navTabs .navTab.forums.PopupClosed .navLink:hover
    {
    color: blue !important;
    }
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There are different tab states to consider. Use this code to ignore the tab state and always apply the hover color:

    Code:
    .navTabs .navTab.forums .navLink:hover
    {
    color: blue !important;
    }
    
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page