Every time I add items to a parent menu, the drop down pane gets wider.
This can be seen at http://frugalstest.sytes.net/frugal/
I'm using the Marinelli base them and I've edited the css files to change colours and some layout dimensions.
Any help would be appreciated,
Thanks!
Comments
Comment #1
prajaktam commentedHello,
This is because every time you add a dropdown menu inside the parent menu, a class is added to the dropdown menu wrapper through jquery. For example, if you have one menu inside the wrapper the class added will be "one-col", if two then "two-col" and so on. And all these classes have different width given in a stylesheet. If you look inside the primary-links.css file in the theme folder you can see different width for each wrapper. If you want a fixed width for all this, then open up the primary-links.css file and add a fixed width to all the columns at the bottom of the stylesheet.
Please clear the cache at Administration » Configuration » Development. Hope this help.
Thanks,
Prajakta
Comment #2
Cockroach338 commentedThat did the trick.
Thanks for the speedy reply!
Comment #3
Rajvi.addweb commentedHi All,
Patch attached here, would make a great help. Let me know your views.
Comment #4
Rajvi.addweb commentedComment #5
oadaeh commentedI'm closing this as a duplicate. See the issue linked to by Nency for the fix and any updates.
If her patch does not address your problem, please respond there.