skip to Main Content

How can I change the Woocommerce shopping cart icon? I am using theme OceanWp

Any help is much appreciated!

EDIT

The theme that I used, added the ability to change it in the customizer

2

Answers


  1. You can change the icon from wordpress theme customizer. Make use of this

    • Go the theme submenu and click on Customize
    • Go to woocommerce
    • You can see the options there.
    Login or Signup to reply.
  2. Adding this in additional css worked for me,
    Get your favorite icon code from here – https://fontawesome.com/cheatsheet
    and paste it as shown below…

    .site-header-cart .cart-contents::after {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        font-weight: normal;
        line-height: 1;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        line-height: inherit;
        vertical-align: baseline;
        content: "f217"; /*paste it here*/
        height: 1em;
        float: right;
        line-height: 1.618; 
    
        }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search