Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #363577

    Hey guys,

    I’m trying to change the icon for the mobile menu. I use a child theme so I took this code snippet and placed it in the child theme functions.php:

    <?php
    
    add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1);
    
    function avia_replace_standard_icon($icons)
    {
    $icons['mobile_menu']	 = array( 'font' =>'entypo-fontello', 'icon' => 'ue811');
    return $icons;
    }

    It does not work and I don’t why. Seems correct to me…
    Any ideas?

    Thank you very much,
    Martin

    #364128
    #368429

    Hi Andy,
    I read that post. But I don’t want to do this every time a new update comes out.
    Is there no way to do this in the functions.php of my child theme?

    Thanks,
    Martin

    #368630

    Hi!

    I tested your code out on my XAMPP setup with a child theme and it’s working fine. It switches the mobile icon to three solid lines instead of dots and lines.

    Which version of the theme are you using? If it’s not 3.0.4 then be sure to update to the latest version and then try downloading our child theme here, http://kriesi.at/documentation/enfold/downloads/, and add your code to the bottom of the functions.php file.

    Best regards,
    Elliott

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