Product Listing Cards
Posted: Mon Jan 01, 2024 8:46 am
Just sharing in case it helps others.
Default product listing cards display like this (ignoring the viewport display and SOLD stickers) : For us, this is not a good look:
the View button is pointless;
the Cart button allows a customer to add to cart without reading the product description which is undesirable;
the prices do not align which is not a good look.
Using the following in /templates/override/static/user.css
displays this:
Default product listing cards display like this (ignoring the viewport display and SOLD stickers) : For us, this is not a good look:
the View button is pointless;
the Cart button allows a customer to add to cart without reading the product description which is undesirable;
the prices do not align which is not a good look.
Using the following in /templates/override/static/user.css
Code: Select all
/*product listing - hide buttons & align prices to bottom of card*/
.card.h-100.is-product .card-footer {display: none !important;}
.card.h-100.is-product .card-body {flex-direction: column !important; display: flex !important;}
.card.h-100.is-product .card-subtitle {margin-top: auto !important;}