[Resolved] Primary Navigation Change Woocommerce Icon

Home Forums Support [Resolved] Primary Navigation Change Woocommerce Icon

Home Forums Support Primary Navigation Change Woocommerce Icon

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

    Hi

    In the Primary Navigation I’m trying to change the shopping trolley icon to a basket icon. I’m using Code Snippets to add the filter.

    Here is the code.

    add_filter( ‘generate_woocommerce_menu_cart_icon’, ‘tu_change_wc_menu_cart_icon’ );
    function tu_change_wc_menu_cart_icon() {
    return ‘<i class=”fa fa-shopping-basket” aria-hidden=”true”></i>’;
    }

    It’s not changed the icon.

    Thanks
    Scott

    #586086
    _blank

    I’ve just noticed the icon appears when I’m editing a page with beaver builder.

    Do i need to turn fontawesome 5 on in generate press?

    Thanks
    Scott

    #586389
    Leo
    Staff
    Customer Support
    #587288
    _blank

    Thanks Leo

    Scott

    #587379
    Leo
    Staff
    Customer Support

    No problem 🙂

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