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

Style Property for Moderator Bar Links While Hovering?

Discussion in 'Styling and Customization Questions' started by DRE, May 16, 2012.

  1. DRE

    DRE Well-Known Member

    Hi. What's the style property for moderator_bar links while hovering over one of the links?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There is no property for it, but you can create your own CSS:

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Code:
    #moderatorBar a:hover
    {
    	text-decoration: none;
    	background-color: @primaryDark;
    	color: @primaryLighterStill;
    }
    
    These are the default attributes. You can change them in your definition.
     
    The8thLegion likes this.
  3. DRE

    DRE Well-Known Member

    I tried it and it doesn't work.
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Try using !important:

    Code:
    #moderatorBar a:hover
    {
    	text-decoration: none !important;
    	background-color: @primaryDark !important;
    	color: @primaryLighterStill !important;
    }
    
     
    cmeinck and 8thos like this.
  5. DRE

    DRE Well-Known Member

    Works now thanks!!!
     

Share This Page