Page 1 of 1

Where is defined how width a menu item is?

Posted: 13 Nov 2010, 19:23
by nicovandekamp
Hello,

I have already asked in another topic about css stuff.

But I hope that someone can help with the next question. If compare the menu of the default template and the zanzibar menu, then the zanzibar is much 'smaller'. Does somebody know where that is defined. It is not in the template css I supose, because I don't see any difference.

Can somebody help me with this?

Thanks in advance.

Nico

Re: Where is defined how width a menu item is?

Posted: 15 Nov 2010, 00:11
by mjau-mjau
The menu width is generally set in the theme Config, because it related to the visual interpretation of the gallery (CSS for flash/imagevue only affects strictly text FORMATTING).

Go to admin -> themes -> edit your theme -> menu.mainmenu.menuitem.minimum_width - This might be set to 200 or 150 in your theme. You can set it lower, or even to 0, in which case the menu will be as wide as your widest menu item.

You can further minimize the width by decreasing the horizontal_textmargin and/or reducing the font-size.