Need Add to cart button to be align on collection page- Dawn theme

Need Add to cart button to be align on collection page- Dawn theme

elfboss
Tourist
26 0 2

Hi

 

I am having trouble getting the price and add-to cart on collection pages to align with the product next to them. I need a solution for mobile and desktop. Some products have an extra bit of writing or a longer product name 

 

Can someone help with the code and where to place the code 

Theme: DAWN

thank you

 

elfboss_0-1706677685182.png

 

Replies 2 (2)

PageFly-Richard
Shopify Partner
4439 1016 1669

Hi @elfboss 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.card:not(.ratio)>.card__content {
    grid-template-rows: max-content minmax(0,1fr) max-content auto !important;
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

elfboss
Tourist
26 0 2

Hi thanks for your response. unfortunately it didnt fix it