Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #687898

    Hi, is it possibile to change the icon of the sandwich button for mobile version of the website? I know it is from Fontello’s set, but I don’t know how it can be done (if possible). Can I use a custom icon (an image I’ve done)?
    Site is: http://www.weddingplannersintuscany.com

    #689225

    Hey Nicola,

    Please refer to this post – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/

    Best regards,
    Yigit

    #689380

    Hi Yigit, i added this code to my functions.php child theme:

    add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1);
    
    function avia_replace_standard_icon($icons)
    {
    $icons['mobile']	 = array( 'font' =>'entypo-fontello', 'icon' => 'ue800');
    return $icons;
    }

    ue800 is the code for this fontello icon I like to use:
    new font icon
    But nothing changed….
    What’s wrong?

    • This reply was modified 7 years, 7 months ago by niguli.
    #689438

    Ok I solved using code:

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

    But I don’t know why it works on english and portuguese version of the web site bit not in italian

    can you help me?

    • This reply was modified 7 years, 7 months ago by niguli.
    #689839

    Hi,

    Do you mind creating a temporary admin login and posting it here privately?

    Best regards,
    Yigit

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