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

Increase the width of the navtabs?

Discussion in 'Styling and Customization Questions' started by Claudio, Dec 7, 2011.

  1. Claudio

    Claudio Well-Known Member

    What I need to modify to increase the width of the tabs on the navbar? Both...main Tabs and Subtabs...
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

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

    Add this code. Use any padding numbers you want. Below are the default values for the public and account tabs:

    Code:
    .navTabs .publicTabs .navLink
    {
    	padding: 0 15px;
    }
    
    .navTabs .visitorTabs .navLink
    {
    	padding: 0 10px;
    }
    
    And this is for the secondary nav links (under the selected tab):

    Code:
    .navTabs .navTab.selected .tabLinks a
    {
    	padding: 1px 10px;
    }
    
     
  3. Claudio

    Claudio Well-Known Member

    thanks!, and for change the font color of unselected main tabs?
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page