Hi guys,
I’m working on my cart drawer, I want to modify the dynamic buttons.
I’m trying to make them smaller and be side by side.
This is the current state.
And this is what I want to achieve (note this is a photoshop edit)
I’ve been trying to do it via the CSS in the cart-drawer.liquid, but I am not able to achieve it.
This is my current CSS.
@media only screen and (max-width: 768px) {
.caption-with-letter-spacing{
margin-top: -90px;
}
.cart__contents.cart-drawer__form {
margin-top: -20px;
margin-bottom: 20px
}
.drawer__footer {
/* Footer size is based on its content and does not grow */
}
.tracker-container {
margin-top: -10px; /* Adjusts spacing above the tracker */
}
.shipping-message{
margin-bottom:-8px;
font-size: 12px
}
.cart__ctas {
flex-direction: column; /* This will stack any children vertically */
}
.dynamic-checkout__content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding: 0 10px;
}
.cart__checkout-button .button {
flex: 1 1 30%;
margin: 5px;
max-height: 50px;
width: 100%; /* This will force the button to try and fill the space */
}
}
I want this to happen mainly in mobile, as for Desktop is not a priority.
The website is https://gomicare.es/pages/tienda
Can anyone help me with it please?
Thanks

