Submenu width change

Community fouces Joomla template to build a music magazine website with JomSocial support.
GK User
Tue Nov 26, 2013 9:42 am
I stand for long words in the Submenu Templet. This leads to the break and the menu title is placed on the next line.

How and where can I change the width of the Submenu? Thank you very much. Ilona ;)
User avatar
Expert Boarder

GK User
Tue Nov 26, 2013 5:06 pm
Could You please post an url to your site?
User avatar
Moderator

GK User
Wed Nov 27, 2013 2:25 pm
http://www.stc-motodrom.de Here a photo. Image Thanks :)
User avatar
Expert Boarder

GK User
Sat Nov 30, 2013 12:01 pm
Please edit: /templates/gk_musicity/css/override.css and add at its end:
Code: Select all
#gkMenu .childcontent-wrap, #gkMenu .childcontent-inner, #gkMenu .gkcol {width: 400px !important;}

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

GK User
Sat Nov 30, 2013 12:04 pm
The problem with that solution is that it will change width of all dropdowns.
To change only some of them, You could target them this way:
Code: Select all
#gkMenu ul li:nth-child(5) .childcontent-wrap, #gkMenu ul li:nth-child(5) .childcontent-inner, #gkMenu ul li:nth-child(5) .gkcol.first {width: 400px !important;}

This will change width to 400px only for dropdown of 5th menu element.
User avatar
Moderator

GK User
Sun Dec 01, 2013 8:35 am
Many Thanks :lol:
User avatar
Expert Boarder

GK User
Fri Dec 06, 2013 5:02 pm
Is there anything else I can help you with on this topic?
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.