Tagged: anchor text, links, menu, mobile
Hi Guys
The Anchor Text on the Open / Close Toggle on the mobile menu is missing and causes a validation error for me.
How can I add this but keep it hidden?
Many Thanks
Jonathan
Hi jono713!
Thank you for using Enfold.
Please edit includes > helper-main-menu.php, find this code on line 18:
echo '<a id="advanced_menu_toggle" href="#" '.av_icon_string('mobile_menu').'></a>';
echo '<a id="advanced_menu_hide" href="#" '.av_icon_string('close').'></a>';
Replace it with:
echo '<a id="advanced_menu_toggle" href="#" '.av_icon_string('mobile_menu').'><span class="mobile-menu-text">Mobile Menu</span></a>';
echo '<a id="advanced_menu_hide" href="#" '.av_icon_string('close').'><span class="mobile-menu-text">Mobile Menu Hide</span></a>';
Add this on Quick CSS or custom.css to hide the text:
span.mobile-menu-text {
display: none;
}
Regards,
Ismael