Lots of text in one row in the 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
Sun Oct 14, 2012 1:48 pm
I have a problem with the main menu. The problem is that the customer has a lot of text in the main menu, but wants all in one row.

Seichinha has provided me the following css code:

. gkmenu.level0 li a {width: 100px! important; text-align: center}

The code is what I want, only that the space between the lines too big.

I attached two images.

current.png (current situation), like.png (what we would like).

Thanks for the replies.
User avatar
Fresh Boarder

GK User
Sun Oct 14, 2012 1:58 pm
voglar wrote:I have a problem with the main menu. The problem is that the customer has a lot of text in the main menu, but wants all in one row.

Seichinha has provided me the following css code:

. gkmenu.level0 li a {width: 100px! important; text-align: center}

The code is what I want, only that the space between the lines too big.

I attached two images.

current.png (current situation), like.png (what we would like).

Thanks for the replies.




Current:

Image


What we would like:


Image
User avatar
Fresh Boarder

teitbite
Sun Oct 14, 2012 2:43 pm
Hi

Please show me Your site.
User avatar
Moderator

GK User
Sun Oct 14, 2012 3:44 pm
My site: http://www.geo-storitve.si/

The override is now enabled!

BR
User avatar
Fresh Boarder

teitbite
Mon Oct 15, 2012 11:38 am
Hi

I can see You have done it already:

Code: Select all
.gkmenu.level0 li a {
    line-height: 17px !important;
    text-align: center;
}


is a right solution. Do You need my help with anything else ?
User avatar
Moderator

GK User
Mon Oct 15, 2012 11:55 am
Yes.

With Seichinha I did.

I do have one small request. Text in the main menu is placed at the center which is OK, but submenus should be aligned to the left.



Thank you.
User avatar
Fresh Boarder

teitbite
Mon Oct 15, 2012 7:36 pm
Hi

Please use this code:

Code: Select all
div.gk-menu > ul.level0 > li .childcontent ul li,
div.gk-menu > ul.level0 > li .childcontent ul li a,
div.gk-menu > ul.level0 > li .childcontent ul li span {
    text-align: left;
}
User avatar
Moderator

GK User
Mon Oct 15, 2012 8:57 pm
Oh, thank you.

And my (i hope so) last question.

Is it possible to move items in main menu a little bit closer?
User avatar
Fresh Boarder

teitbite
Tue Oct 16, 2012 6:21 pm
Hi

Please try with this code:

Code: Select all
div.gk-menu > ul.level0 > li > a {
    padding: 0 4px;
}
User avatar
Moderator


cron