Hi
Been looking for a way to change background color on the top level menu item on action hover.
Thought i found the setting under Design but it is not working.
Could you pls advise on how to achieve this?
The point is to highlight the selected top level item, for instance with a color equal to the background of the sub menu.
It would also be ideal if this hover background color stayed when pointing across the different links in the menu itself. That way it would be easier to see what main/top menu item had been selected previously.
Thanks!
I tested, megamenu change color of top menu item successfully
There are 2 method:
Method 1: input your color code ( not include '#')
http://prntscr.com/kbow66
http://prntscr.com/kbox5h
Method 2: use color picker
http://prntscr.com/kbp259
http://prntscr.com/kbp2k6
Note: please press ctrl + f5 or clear cache drupal if you Aggregate and compress CSS files after changing background color
I tested, megamenu change color of top menu item successfully
There are 2 method:
Method 1: input your color code ( not include '#')
http://prntscr.com/kbow66
http://prntscr.com/kbox5h
Method 2: use color picker
http://prntscr.com/kbp259
http://prntscr.com/kbp2k6
Note: please press ctrl + f5 or clear cache drupal if you Aggregate and compress CSS files after changing background color
Thanks, won't work on this install. don't know why. Have asked the people handling the install to look into it.
But will the rollover bgcolor in main menu stay if/when cursor is moved into submenu?
If not, can you tell me what css is needed to make that happen?
Thanks
If you could not render background color, you can use the following custom css for megamenu top items:
+ Search id of megamenu and add css for megamenu:
+ If you want to keep parent menu's background color when hovering over submenu, you should put :hover in parent tag of tag <a>
+ If you want to apply css for all megamenu, just replace id with class name
For example:
Check the screenshot: http://prntscr.com/kcorfy
Excellent, thank you Cindy!