Increase the width of the navtabs?

Claudio

Well-known member
What I need to modify to increase the width of the tabs on the navbar? Both...main Tabs and Subtabs...
 

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;
}
 

Claudio

Well-known 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;
}
thanks!, and for change the font color of unselected main tabs?
 
Top