Project:Marinelli
Version:7.x-3.0-beta9
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

Hello,
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.

.one-col, .two-col, .three-col, .four-col, .five-col, .six-col {
  width: 145px;
}

Please clear the cache at Administration » Configuration » Development. Hope this help.
Thanks,
Prajakta

#2

That did the trick.

Thanks for the speedy reply!

nobody click here