Unfortunately solution into this thread https://kriesi.at/support/topic/text-next-to-the-hamburger-menu/ didn’t work because the text ‘Menu’ pushed up the icon.
How to add the text and style it properly?
Like here:
An example Enfold demo where I would like to add it – http://kriesi.at/themes/enfold-gym/
Best Regards
Hey L,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
@media only screen and (max-width: 767px) {
.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special a:after {
content: 'Menu';
color: #444;
display: block;
line-height: 10px;
margin-top: -20px;
}}
Best regards,
Yigit
Thanks Yigit!
It aligned perfectly! One more thing – I am trying to change the color of the ‘MENU’ when menu is active (opened)
I have tried these:
.av-inserted-main-menu .is-active .av-main-nav .menu-item-avia-special a:after {
color: #000000 !important;
}
and
.av-hamburger .av-hamburger--spin .av-js-hamburger .av-inserted-main-menu .is-active a:after {
color: #000000 !important;
}
None of them working.
I would prefer to use CSS if possible. What would be the selector to change color of these letters on opened menu?
Best Regards
Found it.
Basically we can use this class to chance color for active menu elements:
.av-burger-overlay-active
The custom CSS that worked:
.av-burger-overlay-active .av-main-nav .menu-item-avia-special a:after {
color: #000000 !important;
}
Thanks