Jump to content
Sign in to follow this  
rtysmith

Main Nav, Sub Nav Width

Recommended Posts

rtysmith

How do I increase the sub-nav width? My titles are too long and getting cut off.

Share this post


Link to post
Share on other sites
cmunns

add this custom css `#secondnav li a{padding: 10px 5px; }`

Share this post


Link to post
Share on other sites
rtysmith

That's not doing it, any other ideas?

Share this post


Link to post
Share on other sites
timlinson

try adding !important like `#secondnav li a{padding: 10px 5px !important}` if that doesn't work, please post a live site link.

Share this post


Link to post
Share on other sites
rtysmith

I just don't think that is the right code. It appears the sub menu width is set to a max of 250 or 252, padding just makes the text have less room. You can preview at eosworldwide.net - go to menu training & tools

Share this post


Link to post
Share on other sites
rtysmith

I did find this at the bottom of supersubs.js, but changing it does not seem to help // expose defaults $.fn.supersubs.defaults = { minWidth : 9, // requires em unit. maxWidth : 25, // requires em unit. extraWidth : 0 // extra width can ensure lines don't sometimes turn over due to slight browser differences in how they round-off values };

Share this post


Link to post
Share on other sites
kastelic

Try this:

ul.sf-menu ul.sub-menu, ul.sf-menu ul.children {
	width: 20em !important;
	}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×