WordPress.org

Forums

Woocommerce change cart icon (3 posts)

  1. joethepizzaking
    Member
    Posted 1 year ago #

    I spent an afternoon pulling the last hair from my balding head trying to find where to change the default shopping cart icon in Woocommerce. I found that it uses fontawesome (http://fortawesome.github.io/Font-Awesome/)for this icon. To change it I added
    #navigation .cart-contents:before {
    content: "";
    background: url('yourpathhere') 1px center no-repeat;
    }
    This CSS was added in the style.css file of my child theme.

    I hope this helps someone.

  2. jalemaida
    Member
    Posted 7 months ago #

    How to replace shopping cart icon with shopping bag "shopping-bag.png" using the existing code?

    .fa-shopping-cart:before {
    content: "\f07a";
    }

  3. ccaribe
    Member
    Posted 3 months ago #

    I found into this page cart-dropdown.php:
    <span class="icon theme"><?php wpv_icon('cart4') ?></span>
    change cart4, with the icon you want, to know all the possibile icon, just add one into a blank page using vamtam shortcodes that it you showw you all the options.

    I hope to be clear...

Topic Closed

This topic has been closed to new replies.

About this Topic