how to change the width of the drop down menus?

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Re: how to change the width of the drop down menus?

Postby sayontan » 01 Feb 2012, 17:17

To make it really great: is there a way to have the widht of the 2nd level items adjust to the content (and not to always be 250 px wide), just like the top level items do?

I don't believe there is. You may be able to do this using some JS, but I have never tried.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: how to change the width of the drop down menus?

Postby ovizii » 01 Feb 2012, 22:52

I'd have liked that feature too but I couldn't get it done. Please let me know if you figure it out :-)
ovizii
 
Posts: 12
Joined: 20 Jan 2012, 03:22

Re: how to change the width of the drop down menus?

Postby kyferez » 13 May 2012, 13:07

If you want 3rd level menus to be correct, use the following:
Code: Select all
#nav-top ul ul a,
#nav-top ul ul a:visited {
   height:auto;
   line-height:1em;
   padding:8px 10px 5px 10px;
   width:250px;
   border-width:1px 1px 1px 1px;
   text-align: left;
}
#nav-top ul ul ul {
   margin-left:120px;
}
kyferez
 
Posts: 1
Joined: 13 May 2012, 12:46

Re: how to change the width of the drop down menus?

Postby DataPepper » 20 Sep 2012, 16:45

ovzii,
Thanks for the code! I was able to change the font size of the items in the drop down.

http://www.DataScopic.net

I get Drake's point about not writing so much in the menu but I needed to make an exception and things weren't looking right.

I used:

Code: Select all
#nav div ul li ul li a {font-size: 12px !important;}


All good now!
DataPepper
 
Posts: 37
Joined: 18 Apr 2012, 10:24

Previous

Return to Support Requests

Who is online

Users browsing this forum: CemsRedlodo, Google [Bot], john_matrix, Thomas F and 4 guests