Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #317478

    Is it possible to alter the menu pop up. I have snagged a picture of the phone as is (left) and displayed a MOCKUP ALTERNATIVE (right) whereby the menu drops down and allows the header to still be visible.
    Feedback from customers is that the ‘close’ button with cross symbol suggests that it will close the whole site which unnerves them… but without the close button they obviously can’t get access back to the menu again!
    Link:HenningDaverne.dk
    Mobile menu screenshot

    Thanks for your time and patience guys!

    • This topic was modified 10 years, 2 months ago by Netzie.
    #317805

    Hi Peter!

    Use this code in functions.php to change the icon of the close button:

    function avia_replace_standard_icon($icons) {
        $icons['close']   = array( 'font' =>'font-awesome', 'icon' => 'ue8a5');
        return $icons;
    }

    Best regards,
    Josue

    #318021

    Freaking brilliant idea!!! Copied your script into the functions.php file in the child theme. Cleared cache on phone and refreshed several times…but the icon hasn’t changed. :-(

    #318310

    Hi,

    Can you please create me an administrator account? post it here as a private reply.

    Regards,
    Josue

    #318478
    This reply has been marked as private.
    #318527

    Hi!

    We changed the code on functions.php with this:

    add_action('init', 'avia_replace_standard_icon', 10, 1);
    function avia_replace_standard_icon($icons) { 
    	global $avia_config;
    	
    	$avia_config['font_icons']['close']['icon'] = 'ue8a5';
    	return $icons;
    }

    Cheers!
    Ismael

    #319160

    Hi Ismael,

    Nice… Cool… Excellent! It works! Thanks mate! to you and all Krisi’s :-)

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Mobile menu – can close button come off so menu hamburger available?’ is closed to new replies.