Main menu in the middle

Commercial shopping Joomla template to easy create webshop with various extensions supported like ViruteMart, K2 and K2Store.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Dec 09, 2013 6:16 pm
Reply with quote
Report this post
Is possible to have the main menù in the center of the page?

http://www.studiomorriconi.com/luxvillae/
User avatar
Senior Boarder

GK User
Mon Dec 09, 2013 7:14 pm
Reply with quote
Report this post
Its almost there... please edit override.css and modify:
Code: Select all
#gkMainMenu {
margin: 59px 0px 0 0px!important;
width: 100%;
}

(remove -16 px code)
User avatar
Moderator

GK User
Tue Dec 10, 2013 11:00 am
Reply with quote
Report this post
Thanks!
But now i have another problem! The items of the drop down menu are in the same line and centered. No good! :dry:
User avatar
Senior Boarder

GK User
Tue Dec 10, 2013 4:40 pm
Reply with quote
Report this post
Hi.
Also lloking to duplicate that effect. The solution mentioned didnt work on http://spnliving.net/wssldir/
User avatar
Fresh Boarder

GK User
Tue Dec 10, 2013 5:29 pm
Reply with quote
Report this post
@MaxP4:
The problem is with declaratins on override.css - they change behave of all menu items, and You would like to do it only for main menu items.
Change them to:
Code: Select all
#gkMainMenu #gkExtraMenu > ul {text-align: center;}
#gkMainMenu #gkExtraMenu > ul > li {float: none; display: inline-block}
#gkMainMenu #gkExtraMenu > ul > li ul {text-align: left;}


It should do the trick.
User avatar
Moderator

GK User
Tue Dec 10, 2013 5:30 pm
Reply with quote
Report this post
@gematriot: if you will paste this code:
Code: Select all
#gkMainMenu #gkExtraMenu > ul {text-align: center;}
#gkMainMenu #gkExtraMenu > ul > li {float: none; display: inline-block}
#gkMainMenu #gkExtraMenu > ul > li ul {text-align: left;}

to override.css - it will work.
User avatar
Moderator

GK User
Sat Dec 14, 2013 9:11 pm
Reply with quote
Report this post
Thanks!
User avatar
Fresh Boarder

GK User
Sun Dec 15, 2013 1:02 pm
Reply with quote
Report this post
No problem :).
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator

GK User
Wed Dec 18, 2013 12:12 am
Reply with quote
Report this post
Would you please be kind enough to assist me in getting the top nav menu to display on the right side of page? I'm trying to make the "template switch" as seemless as possible and with the menu items on the top left it's pretty obvious to my users that "something" is changing.

I'm using the Joomla 2.5 Creativity template on the front end of our site and the Joomla 2.5 StoreBox template for the secondary pages / Virtuemart aspect.

Thank you in advance for your time.
User avatar
Expert Boarder

GK User
Wed Dec 18, 2013 4:29 pm
Reply with quote
Report this post
Sorry, but your question doesn't correspond to this question topic. Please create new forum thread.
User avatar
Moderator

GK User
Wed Dec 18, 2013 11:44 pm
Reply with quote
Report this post
Okay, sorry for not posting in correct place. I did find a solution though for anyone needing it.

In the "override.css" file I added the following

/*align shop menu to right*/
#gkMainMenu {
width:100%;
}
#gkExtraMenu > .gkmenu {
float:right;
}
User avatar
Expert Boarder

GK User
Fri Dec 27, 2013 1:43 pm
Reply with quote
Report this post
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator


cron