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
How and where can I change the width of the Submenu? Thank you very much. Ilona
-
- Expert Boarder
- GK User
- Tue Nov 26, 2013 5:06 pm
Could You please post an url to your site?
-
- Moderator
- GK User
- Sat Nov 30, 2013 12:01 pm
Please edit: /templates/gk_musicity/css/override.css and add at its end:
Remember to enable "CSS override" in template settings - advanced section.
- Code: Select all
#gkMenu .childcontent-wrap, #gkMenu .childcontent-inner, #gkMenu .gkcol {width: 400px !important;}
Remember to enable "CSS override" in template settings - advanced section.
-
- 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:
This will change width to 400px only for dropdown of 5th menu element.
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.
-
- Moderator
- GK User
- Sun Dec 01, 2013 8:35 am
Many Thanks
-
- Expert Boarder
- GK User
- Fri Dec 06, 2013 5:02 pm
Is there anything else I can help you with on this topic?
-
- Moderator
7 posts
• Page 1 of 1