Home Forums WoodMart support forum Basket icon for add to cart button

Basket icon for add to cart button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229394

    precise
    Participant

    I want to add a basket icon in front of the add to cart button. I use a child-theme for some tiny settings. As I have given below, I have tried a few css as in the example but: before does not generate. I am waiting for your support.

    button.single_add_to_cart_button.button.alt::before {
    display: inline;
    font-size: 19px;
    content: “\f124”;
    font-family: woodmart-font;
    margin-right: 10px;
    }

    Code above and tried a few other things but the before object does not occur. Help me and thank you.

    #229424

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .wd-add-btn-replace .add-to-cart-loop:before{
    	content: “\f124”;
    	font-family: 'Font Awesome 5 Free';
    	font-weight: 900;
    }

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)