New Landing › How can we help? › Cardinal › add MENU before hamburger icon
hey guys, i am using cardinal header 4, and would like to add the word MENU in the mobile menu, so its more clear, then the hamburger icon. is it possible to add MENU left before the hamburger icon?
thanks!
Hi,
Can you provide the site url? So I can provide you the correct css. Thanks
-Rui
Hi, Please use this custom css code:- .mobile-header-opts:before {content: "Menu" !important;} Thanks Mohammad
.mobile-header-opts:before {content: "Menu" !important;}
Thanks Mohammad, that works!
The only thing is that the word MENU is not active as link, to open the mobile menu. Can you tell me how?
Thanks std
Hi, There is no :before and :after selector in jQuery. So we cant listen any event on it. Hope you will understand. Thanks Mohammad
It’s here in this line
$mobile_menu_icon = apply_filters( 'sf_mobile_menu_icon', '<span class="menu-bars"></span>' );
Replace the <span class="menu-bars"></span>
<span class="menu-bars"></span>
for your desired code.
In sf-header.php there is a line:
change that to:
$mobile_menu_icon = apply_filters( 'sf_mobile_menu_icon', '<span>MENU</span>' );
– Kyle
Can you please provide your link?
Add this to your custom css:
a.mobile-menu-link { text-indent: 0; width: auto; }
And take the word ‘menu’ out of the span in the sf-header.php file
You must be logged in and have valid license to reply to this topic.