Home › Forums › WoodMart support forum › Change dropdown menu color
Change dropdown menu color
- This topic has 11 replies, 2 voices, and was last updated 4 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
April 13, 2020 at 3:19 pm #186609
yorgosParticipantHi how i can change the background and hover colour of menu? i need a bit darker and not white.
Attachments:
You must be logged in to view attached files.April 13, 2020 at 6:40 pm #186646
Elise NoromitMemberHello,
The background is changed in the HTML.
You can change the font by means of an Advanced typography option, which allows to choose the item from a drop-down or insert your custom CSS class. Please navigate to the Theme Settings > Typography > Advanced Typography.
Here is the documentation providing more detailed instructions: https://xtemos.com/docs/woodmart/advanced-typography-settings/
Best Regards
April 13, 2020 at 8:29 pm #186673
yorgosParticipantyes i knwo but there is no css way to change the menu background? i must mandatory use White? this is not normal
April 14, 2020 at 7:27 am #186720
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .menu-item-design-sized > .sub-menu-dropdown { background-color: red; } body .vertical-navigation .menu-mega-dropdown .sub-menu > li > a:hover{ color: yellow; }
Set the colors as per your needs
Best Regards
April 14, 2020 at 8:10 am #186738
yorgosParticipantThanks see this video: https://monosnap.com/direct/THzVjTSlALTcY4Fdcu9Y9LN3UxbnU9
I need to change all menu levels please. Main menu, secondary menu ,and mega menu tooApril 14, 2020 at 9:18 am #186759
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.vertical-navigation .item-level-0>a { background-color: yellow; } .vertical-navigation .item-level-0>a:hover { background-color: green; }
Best Regards
April 14, 2020 at 9:52 am #186773
yorgosParticipantthank but again again they are incomplete. as i mentions above i need css for all menu levels and hovers. it is possible to provide me correct code because i am confused? thanks
April 14, 2020 at 8:33 pm #186962
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .vertical-navigation .item-level-0>a { background-color: yellow; color:red; } body .vertical-navigation .item-level-0>a:hover { background-color: green; color:yellow; } @media screen and (min-width: 1200px){ .categories-menu-dropdown .item-event-hover:hover >.sub-menu-dropdown { background-color: red; } } body .vertical-navigation .menu-mega-dropdown .sub-menu > li > a { color: yellow; } body .vertical-navigation .menu-mega-dropdown .sub-sub-menu li a { color: yellow; } body .vertical-navigation .menu-mega-dropdown .sub-menu > li > a:hover { color: white; } body .vertical-navigation .menu-mega-dropdown .sub-sub-menu li a:hover { color: white; }
Best Regards
April 15, 2020 at 4:29 am #186998
yorgosParticipantThanks some css repeat twice the same code, the only missing now is the hover background of submenu and megamenu, and the font of mega menu and sub menu, thanks!!!
April 15, 2020 at 11:36 am #187140
Elise NoromitMemberHello,
Replace two last styles with these ones:
body .vertical-navigation .menu-mega-dropdown .sub-menu > li > a:hover { color: white; background: yellow; } body .vertical-navigation .menu-mega-dropdown .sub-sub-menu li a:hover { color: white; background: yellow; }
I di not provide style for background change in the mega menu block as it does not look good.
Best Regards
April 15, 2020 at 1:46 pm #187215
yorgosParticipantgreat thanks!
April 15, 2020 at 2:48 pm #187262
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register