2nd level menu style

GK User
Mon Aug 26, 2013 12:34 pm
Hi,
I use Gk Extra Menu. I have 4 levels menu (main level + 3 drop-down levels). I need to change styles for only one level (2nd sublevel). How I can change it?
User avatar
Fresh Boarder

GK User
Mon Aug 26, 2013 4:21 pm
Could You please post an url to your site?
User avatar
Moderator

GK User
Wed Aug 28, 2013 6:09 pm
Well, its kind'a tricky ;)
Code: Select all
#gkMainMenu ul.gkmenu > li > div.childcontent > div.childcontent-inner-wrap > div.childcontent-inner > div.gkcol > ul > li > div.group > div.gk-group-content > ul.gkmenu > li > div.childcontent > div.childcontent-inner-wrap {background: blue}


This will set background to blue. You can use similar code to alter elements inside - You just need to create hierarchy of elements each after another.
You should also be aware, that this will not work in older browsers.

Please place the code in override.css and enable it in template settings.
User avatar
Moderator

GK User
Fri Aug 30, 2013 11:27 am
Thank you for your help.
So that I was able to improve also others menu levels and menu positions (non grouped).
User avatar
Fresh Boarder

GK User
Fri Aug 30, 2013 3:19 pm
Yes, You just have to remember to use ">" instead of spaces to affect selected item, not all its child items that "fit" same pattern.
User avatar
Moderator


cron