Tagged: x
-
AuthorPosts
-
February 26, 2017 at 3:33 pm #1386440
breepearParticipantHow do I align the cart totals and checkout button to the right in a two column layout? I also want the proceed to checkout button to be the same size as the others.
February 26, 2017 at 3:33 pm #1386442
breepearParticipantThis reply has been marked as private.February 26, 2017 at 8:30 pm #1386701
DarshanaModeratorHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.woocommerce .cart-collaterals .cart_totals { float: right; width: 50%; } .checkout-button { float: right; font-size: 100%; }Hope that helps.
February 27, 2017 at 2:07 pm #1387788
breepearParticipantThat worked great for desktop, is there a way to still keep it full width for mobile only?
February 27, 2017 at 10:18 pm #1388231
Prasant RaiModeratorHello There,
Thanks for writing in!
Please use use following code:
@media only screen and (min-width: 900px) { .woocommerce .cart-collaterals .cart_totals { float: right; width: 50%; } .checkout-button { float: right; font-size: 100%; } }Thanks.
February 27, 2017 at 11:36 pm #1388298
breepearParticipantThat worked great, now how do I make the “proceed to checkout” button the same size as the others and make it align right.
February 28, 2017 at 5:14 am #1388575
ThaiModeratorHi There,
Please add the following CSS:
a.checkout-button.button.alt.wc-forward { font-size: 100%; float: right; }Hope it helps 🙂
March 7, 2017 at 8:01 pm #1398554
breepearParticipantI want to update the button layout and size on this page (see attached images as reference).
Desktop: Update cart/apply coupon should live on the same line and span the whole container in a two column layout
Mobile: all buttons should be full width and stacked
March 8, 2017 at 3:15 am #1398804
ChristopherModeratorHi there,
Please add following code :
@media (min-width:767px){ input.button[name="apply_coupon"] { float: left !important; width: 50%; margin-left: 0 !important; } input.button[name="update_cart"] { width: 49%; } } @media (max-width:767px){ input.button[name="apply_coupon"],input.button[name="update_cart"] { width: 100%; } }Hope it helps.
March 8, 2017 at 1:28 pm #1399492
breepearParticipantThat worked great for the “Update cart/apply coupon” buttons, but how can I get the “Proceed to checkout” button to span the whole column on both desktop and mobile?
March 8, 2017 at 3:50 pm #1399687
JoaoModeratorHi There,
Please add the following code to Appereance Customizer Custom CSS
a.checkout-button.button.alt.wc-forward { width: 100%; }Hope it helps
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1386440 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
