fixed size in main menu

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Thu Oct 11, 2012 8:21 am
I have a question about the main menu. I would like to set a fixed size fields in main menu. This means if the size exceeded, second or third word would go into a new line. Sample: http://www.geo2.si/

I hope you understand.

It would be great that i be able at least to choose when to jump another word on a new line.

Thank you very much for your answers.

Br
User avatar
Fresh Boarder

GK User
Thu Oct 11, 2012 10:26 am
Hi

Please enable the use of css override on template parameters and try adding this line on ../css/override.css file.

Code: Select all
.gkmenu.level0 li a {width: 100px!important;text-align: center}
User avatar
Platinum Boarder

GK User
Fri Oct 12, 2012 11:56 am
Thank you,

The only problem is that the space between the words is too big.

Please help.
User avatar
Fresh Boarder

GK User
Sun Oct 14, 2012 4:05 pm
Hi again

ok so use instead:

Code: Select all
.gkmenu.level0 li a {width: 60px!important;text-align: center; line-height: 18px!important; padding-top: 5px!important}


Cheers
User avatar
Platinum Boarder


cron