leeana Posted July 16 Share Posted July 16 Successfully customized checkout page with the below code I found in forums, but I struggled to change the button's padding, the stroke color of a button with no fill, and to add a hover, so I ended up with this Continue text with arrow. And now I can't figure out how to align it. Would love to know how to do all the things mentioned so I could try some different options. Would also love to add some spacing under "Please review..." body#cart { background: #373737; } body#cart { color: white; } .cart-title { color: white; } body#cart { padding: 3rem; } [aria-label="Shopping Cart"]:after { content: 'Please review your items below:'; font-size: 3rem; visibility: visible; position: absolute; left: 0; top: 0; } [aria-label="Shopping Cart"] { visibility: hidden; position: relative; } [aria-label="Checkout"]:after { content: 'Continue→'; visibility: visible; color: #ff00ff; background: none !important; font-size: 1.5rem; padding: 0rem; background-color: var(--primaryButtonBackgroundColor); } [aria-label="Checkout"] { visibility: hidden; } Link to comment
Lesum Posted July 16 Share Posted July 16 @leeana Hi! Can you share your site URL for context? If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
leeana Posted July 16 Author Share Posted July 16 https://www.amandahartwellness.com/ Link to comment
Solution Lesum Posted July 16 Solution Share Posted July 16 @leena Hi! You can try adding this code in Website > pages > Website Tools > Custom CSS // add spacing below cart title div#sqs-cart-container .cart-title { margin-bottom: 40px; } #cart [aria-label="Checkout"] { font-size: 0 !important; } #cart .cart-checkout { border: 1px solid #f0f; } //button hover #cart .cart-checkout:hover .cart-checkout-button:after { color: #fff; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
leeana Posted July 16 Author Share Posted July 16 Thank you! What can I add to the button hover so that the fill becomes pink and border disappears? Link to comment
Lesum Posted July 16 Share Posted July 16 @Lesum You can add this code: #cart .cart-checkout:hover { background: #f0f; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? 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