Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] Changing word "cart" in icon

Home Forums Support [Resolved] Changing word "cart" in icon

Home Forums Support Changing word "cart" in icon

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

    Hey Tom,

    I added:
    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-cart” aria-hidden=”true”></i>’;
    }

    to the functions.php of the child theme. But somehow it keeps displaying the word “Cart”
    instead of the desired icon.

    I did not restrict font awesome in any way, any idea why this doesn’t get picked up? What am I doing wrong or overlook?

    Thanks in advance and thanks very much for your excellent work. Happy Generate Press user here!

    Regards,
    Michael

    GP Premium 1.5.6
    #510901
    Leo
    Staff
    Customer Support

    Hi Michael,

    Just to double check that load essential icons here is not checked? https://docs.generatepress.com/article/general-settings-overview/

    You shouldn’t need a snippet to show the cart icon – it should show by default when you activate the setting in the customizer.

    Let me know.

    #511062
    Michael

    Hi Leo,

    I’m embarrassed that I bothered your support forum…Total misconfiguration in my brain that somehow assumed that when the box is checked I have all the icons…it’s sad….;-) Thanks anyway for helping me out.

    Have a great day!
    Kind regards,
    Michael

    #511285
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.