WordPress.org

Support

Support » How-To and Troubleshooting » Woocommerce change cart icon

Woocommerce change cart icon

  • joethepizzaking
    Member

    @joethepizzaking

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • jalemaida
    Member

    @jalemaida

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

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

    ccaribe
    Member

    @ccaribe

    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…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce change cart icon’ is closed to new replies.