Tagged: product list, woocommerce
Hey Guys,
I like the product list element’s add-to-cart feature.
Is there a quick way to also display a cart icon for every item in the list so that the user immediately understands it intuitively?
Thx & BR,
Michael
Hey micscr,
Thank you for the inquiry.
Yes, that should be possible with this css code.
.av-catalogue-content:before {
content: "add to cart";
position: absolute;
right: 0;
top: 50px;
}
You can replace the content value with an image or a font icon. Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael
Thanks Ismael,
that did the trick!
Here is the CSS for the standard cart icon placed directly under the price if anyone else has this need:
.av-catalogue-content:before {
content: "\e859";
font-family: 'entypo-fontello';
position: absolute;
right: 20px;
top: 36px;
}
Best Regards /
Michael