HenryDaeche Posted June 13, 2020 Share Posted June 13, 2020 Site URL: https://www.owltearooms.co.uk/online-shop Hello, I'd like to justify and align the 'Add to Cart' buttons so they are the same horizontal rule, this is because some of the titles of the products are longer which pushes the button down, please see the attached image. I'd like to know if there's some code which I can use to align the add to cart buttons? Thanks. Link to comment
tuanphan Posted June 13, 2020 Share Posted June 13, 2020 Add to Home > Design > Custom CSS @media screen and (min-width:641px) { .product-block .productDetails .product-title { min-height: 40px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
HenryDaeche Posted June 14, 2020 Author Share Posted June 14, 2020 Thank you @tuanphan Link to comment
ColeH_design Posted May 17, 2021 Share Posted May 17, 2021 @tuanphanI used code above to successfully create space between product title and description, but I'm hoping to align buttons at base (the "add to cart" to be bottom justified). My buttons vary due to some item descriptions being longer then others (1 vs 2 lines of description copy bumps the button out of alignment). Can you help w/ coding? Site: hrdripbar.squarespace.com/dripcocktails Password: Dripbar21 Link to comment
tuanphan Posted May 18, 2021 Share Posted May 18, 2021 On 5/18/2021 at 5:23 AM, ColeH_design said: @tuanphanI used code above to successfully create space between product title and description, but I'm hoping to align buttons at base (the "add to cart" to be bottom justified). My buttons vary due to some item descriptions being longer then others (1 vs 2 lines of description copy bumps the button out of alignment). Can you help w/ coding? Site: hrdripbar.squarespace.com/dripcocktails Password: Dripbar21 Add to Design > Custom CSS /* Align add to cart */ @media screen and (min-width:768px) { div#page-section-609b3ee39e0fa43c547c4288 .span-4 .sqs-add-to-cart-button-wrapper { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; } div#page-section-609b3ee39e0fa43c547c4288 .span-12>.row>.span-4 { flex: 1; position: relative; padding-bottom: 100px; } div#page-section-609b3ee39e0fa43c547c4288 .product-block { position: static; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.