Search…

X3 Photo Gallery Support Forums

Search…
 
nicovandekamp
Topic Author
Posts: 7
Joined: 30 Oct 2010, 17:34

Where is defined how width a menu item is?

13 Nov 2010, 19:23

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

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

15 Nov 2010, 00:11

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.