Shopify themes, liquid, logos, and UX
This is my website: aromaticaparfums.com
The file is product-list.liquid
currently it’s like the one on the left, I want it aligned like the right
please help
Solved! Go to the solution
This is an accepted solution.
.collection__grid-loop.product__list-carousel .flickity-slider .product-index .product-metafields > p:nth-child(2) {
height: 72px;
}
button.btn.add-to-cart-btn {
margin-left: calc(100% - 120px) !important;
}
No. This is not what I wanted. I wanted all the add to cart buttons to be in a single line like this: - - - -
your code makes it: - _ - _
Please try this code
.collection__grid-loop.product__list-carousel .flickity-slider .product-index .product-info {
height: 100px !important;
}
.collection__grid-loop.product__list-carousel .flickity-slider .product-index .product-metafields {
height: 140px !important;
}
Here is the result: https://prnt.sc/8qaRTClZF4No
I hope this helps
Best,
Daisy
Great job but can you make it such that retail price is also aligned just like the cart?
This is an accepted solution.
.collection__grid-loop.product__list-carousel .flickity-slider .product-index .product-metafields > p:nth-child(2) {
height: 72px;
}
You are awesome but can you help decrease this big space in the middle between inspired by and retail price?
You can try code like this, either in "theme settings"=>"Custom CSS" or in "Custom CSS" of each section:
.product-index {
height: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.product-index > :last-child {
margin-top: auto;
align-self: center;
}
Note:
You have problems with first item on collection pages -- must be HTML error -- browser removes the form tag (it exists in original HTML, but browser ignores it). If you click cart button there it does nothing.
I believe it's because of the <form id="main-collection-form"> line -- this should be removed.
HTML does not allow nesting forms, so when browser sees the <form> tag of the first product card it ignores it, but uses it's </form> tag to close the main-collection-form.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025