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
Hey Nicola,
Please refer to this post – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
Best regards,
Yigit
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:
But nothing changed….
What’s wrong?
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?