datsau
I am using the Broadcast theme
I would like to align all my prices box so they are less messy
datsau
I am using the Broadcast theme
I would like to align all my prices box so they are less messy
Hi @TBS2023 , you can follow these steps:
Step 1: Open Online Store → Themes → Edit code.
Step 2: Find component-card.css file
Step 3: Paste this code at the bottom of the file
.product-item__info.body-medium {
padding-left: 2px!important;
padding-right: 2px!important;
}
If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you ![]()
still i have some prices that are not aligned
Hello @TBS2023
Add this CSS; it will work.
@media screen and (min-width: 750px) { .product-item { display: grid; grid-template-rows: auto 1fr; } .product-item .product-item__info { height: 100%; display: flex; flex-direction: column; align-items: stretch; } .product-item .product-item__info > .product-link, .product-item .product-item__info > .product-link .product-item__price__holder { flex: 1; display: flex; flex-direction: column; align-items: stretch; } .product-item .product-item__info > .product-link, .product-item .product-item__info .product-item__price { margin-top: auto; } }