Add Shopping Cart on Add to Cart button
-
Hello,
After the update to Base 5.3, I noticed that the shopping cart icon from the Add to Cart button is not recognised anymore. I uses this css code in theme option:
a.button.product_type_simple.add_to_cart_button:before {
content: "\f07a";
font-family: FontAwesome;
margin-right: 10px;
font-weight: 900;
}
.single_add_to_cart_button:before {
content: "\f07a";
font-family: FontAwesome;
font-weight: 900;
margin-right: 10px;
}
Hello,
Please replace your code with these ones:
a.button.product_type_simple.add_to_cart_button:before {
content: "\f07a";
font-family: 'Font Awesome 5 Free';
font-weight: 900;
margin-right: 10px;
}
.single_add_to_cart_button:before {
content: "\f07a";
font-family: 'Font Awesome 5 Free';
font-weight: 900;
margin-right: 10px;
}
Best Regards
You are welcome! If you have any questions please feel free to contact us.
Best Regards
The topic ‘Add Shopping Cart on Add to Cart button’ is closed to new replies.