Hi guys,
I’m having issues finding the correct code. Maybe you can help me?
I want my product recommendations to look exactly like the products in my shop
shop: https://hannah-paula.com/collections/shop
product recommendations: https://hannah-paula.com/collections/weine/products/hannah-paula-s-riesling-wein-trocken-2019
Somehow the prices for the product recommendations won’t center and the price__badge–sale is too long.
At the same time I want to horizontally align all prices - is this possible?
Thanks for your help!
The code I’m currently using:
dl.price {
align-items: center;
}
.h4.grid-view-item__title {
text-align: center;
width: 100%;
display: inline-block;
text-decoration: none;
}
.template-product dl.price{align-items: flex-start;}
.product-recommendations__inner dl.price {
display: block!important;
text-align: center;
}
.product-recommendations__inner .price__regular, .price__sale {margin-right: 0;}
.product-recommendations__inner .price__compare dd { margin-right: 0;}
.price__pricing-group {
display: block!important;
text-align: center;
}
.price__regular, .price__sale {margin-right: 0;}
.price__compare dd { margin-right: 0;}
.price--on-sale .price__badge--sale {justify-content: center;}