Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #337970

    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

    #338102

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.