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

    Hi, when I tried to upload new icons to the site as shown here: https://kriesi.at/documentation/enfold/icon/#change-icon-used-for-standard-theme-elements-, I get an error saying the server didn’t respond. I would like to change some icons but I can’t upload the new font.

    #1061295

    Hey WCWL1650,

    https://cl.ly/38e433d4615c You need to have PHP ZipArchive Extension enabled on the server.

    Can you please share the font zip that you’re trying to upload?

    Best regards,
    Victoria

    #1061400

    I found how to turn that on and I managed to get the font uploaded, however when I change my functions.php to overwrite the shopping cart icon, it still shows the default one.

    This is the code I’m using, I found this in other threads on the forum:

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

    What do I need to do to get it to show the icon I want?

    • This reply was modified 5 years, 11 months ago by WCWL1650.
    #1062275

    Hi,

    Please make sure you have got the right unicode. To do so check the icon list available in the advanced layout builder by clicking on the icon element and open it to see that your custom cart icons is present in the list and hover over the icon to get the correct unicode.

    Update the unicode in the below CSS and add it to Enfold > General Styling > Quick CSS

    #top .cart_dropdown_link > span:before {
        font-family: 'entypo-fontello';
        content:'\E802'!important;
    }

    Best regards,
    Vinay

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