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

Showing SplitCtrl all the time

Discussion in 'XenForo Development Discussions' started by Forsaken, Mar 22, 2011.

  1. Forsaken

    Forsaken Well-Known Member

    I want to make it so SplitCtrl shows all the time, and not just when it is hovered over. Is this possible, and if so what would I do to change this behavior?
     
  2. feldon30

    feldon30 Well-Known Member

    Well here's the code:
    Code:
        .navTabs .navTab.PopupClosed .SplitCtrl
        {
            margin-left: -14px;
            width: 14px;
        }
    
            .navTabs .navTab.PopupClosed:hover .SplitCtrl
            {
                background: transparent url('styles/default/xenforo/widgets/nav_menu_gadget.png') no-repeat center right;
    }
    
    Don't you want to change it to:
    Code:
        .navTabs .navTab.PopupClosed .SplitCtrl
        {
            margin-left: -14px;
            width: 14px;
            background: transparent url('styles/default/xenforo/widgets/nav_menu_gadget.png') no-repeat center right;
        }
    
    Actually, you could slap this in extra.css just to avoid editing original CSS:
    Code:
        .navTabs .navTab.PopupClosed .SplitCtrl
        {
            background: transparent url('styles/default/xenforo/widgets/nav_menu_gadget.png') no-repeat center right;
        }
     
  3. Forsaken

    Forsaken Well-Known Member

    Thanks for making me feel stupid.

    I told you, in the time I made breakfast, I forgot just about everything.
     

Share This Page