simplicity full width main menu

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
Fri Jun 26, 2015 4:45 am
Reply with quote
Report this post
Is there a way to make the main menu full-width in the Simplicity Template?

I found this CSS Code in another thread, would that work? I am not sure what the margins refer to?


CODE: SELECT ALL
#gkMainMenu {
margin: 26px -50px 0 !important;
padding: 0 50px;
}


https://www.gavick.com/forums/storebox-joomla25/full-width-main-menu-42532?p=211938&hilit=main%20menu%20full%20width#p211938
User avatar
Junior Boarder

GK User
Fri Jun 26, 2015 9:11 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Fri Jun 26, 2015 10:56 pm
Reply with quote
Report this post
I sent our url in a PM but I see the forum menu is nicely done as an example of the full width menu but still with margin around the Article.

wide menu.jpg


I think this might be a Joomla newbie question :P
User avatar
Junior Boarder

GK User
Mon Jun 29, 2015 3:24 pm
Reply with quote
Report this post
I have just visited your site and menu is full width. Have you been able to change it on your own?
User avatar
Moderator

GK User
Mon Jun 29, 2015 8:58 pm
Reply with quote
Report this post
Hi Cyberek, thank you for checking it! I have not quite figured out full width main menu for very wide window settings, if you zoom out a lot you might see the left and right margins. It is especially noticeable on our search results page.

I took the CSS code out of the Simplcity Template Manger / Advanced Settings / Custom CSS Code because it was pushing the menus down too far. But I think this is almost the solution. :P

I will try some more different CSS code ideas. The Custom CSS Code box is a nice feature in the Gavick Template.
User avatar
Junior Boarder

GK User
Tue Jun 30, 2015 5:28 pm
Reply with quote
Report this post
Please edit: /templates/gk_simplicity/css/override.css and add at its end:
Code: Select all
#gkHeaderNav.gkPage {max-width: 100%;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Sat Jul 11, 2015 5:56 pm
Reply with quote
Report this post
Hi Cyberek, this worked great! It did exactly what I needed thank you!

I was able to easily add it to the template from the Administrator interface in the Extensions / Template Manager / gk_Simplicity - Default / Advanced Settings and I pasted your code into the Custom CSS Code box. This is a nice feature of the Template :)
User avatar
Junior Boarder

GK User
Mon Jul 13, 2015 11:12 am
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron