saubuchon24 Posted December 5, 2023 Share Posted December 5, 2023 Hello, I was wondering if their is any code that can help me remove the padding from my add to cart button and accordion on the right side allowing for my add to cart button and my accordion to fill out the page. This happened when I used the following code to move the add to cart button next to my quantity. .ProductItem-details .ProductItem-details-checkout { display: flex; flex-wrap: wrap; flex-direction: row; } .ProductItem-product-price, .ProductItem-details-excerpt { flex-basis:100%; } .sqs-add-to-cart-button-wrapper { margin-bottom: 0 !important; position: relative; bottom: -26.5px; } .product-quantity-input { flex-basis:25%; } .ProductItem-details .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button { padding-top: 1.5em; padding-bottom: 1.5em; } @media screen and (min-width:767px) { .sqs-add-to-cart-button-wrapper { flex-basis:75%; } } @media screen and (max-width:767px) { .sqs-add-to-cart-button-wrapper { flex-basis:60%; margin-left: 2vw; } } Thank you for the help! Link to comment
Web_Solutions Posted December 6, 2023 Share Posted December 6, 2023 9 hours ago, saubuchon24 said: Hello, I was wondering if their is any code that can help me remove the padding from my add to cart button and accordion on the right side allowing for my add to cart button and my accordion to fill out the page. This happened when I used the following code to move the add to cart button next to my quantity. .ProductItem-details .ProductItem-details-checkout { display: flex; flex-wrap: wrap; flex-direction: row; } .ProductItem-product-price, .ProductItem-details-excerpt { flex-basis:100%; } .sqs-add-to-cart-button-wrapper { margin-bottom: 0 !important; position: relative; bottom: -26.5px; } .product-quantity-input { flex-basis:25%; } .ProductItem-details .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button { padding-top: 1.5em; padding-bottom: 1.5em; } @media screen and (min-width:767px) { .sqs-add-to-cart-button-wrapper { flex-basis:75%; } } @media screen and (max-width:767px) { .sqs-add-to-cart-button-wrapper { flex-basis:60%; margin-left: 2vw; } } Thank you for the help! Can you share your website URL? If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
saubuchon24 Posted December 6, 2023 Author Share Posted December 6, 2023 https://refreshedmemories.squarespace.com/config/pages/website-tools/custom-css Link to comment
saubuchon24 Posted December 6, 2023 Author Share Posted December 6, 2023 PW: ButlerBros Link to comment
Web_Solutions Posted December 7, 2023 Share Posted December 7, 2023 9 hours ago, saubuchon24 said: PW: ButlerBros The password is wrong. If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
tuanphan Posted December 10, 2023 Share Posted December 10, 2023 with first space, you want to increase add to cart with to fill that space or? with second, add this to Website Tools (under Not Linked) > Custom CSS /* accordion width */ .accordion-item__description { max-width: 100% !important; } 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
Create an account or sign in to comment
You need to be a member in order to leave a comment