Shopify themes, liquid, logos, and UX
I could use your help please. I would like to put the add to cart button next to the dynamic payment button. Like that:
I tried this code in theme.liquid:
<style>
.button--full-width {
width: calc(100% - 150px) !important;
margin-top: -72px;
margin-left: 150px;
}
</style>
but it gives me that.It also moves the button to choose options for complementary products from the “seach and control” application. Normally it's like this
I have a second question. I would like to put the "guide des tailles" pop up next to the quantity selector, what can I do?
Hi @Dalila2
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
.product-form__buttons {
display: flex !important;
align-items: flex-start !important;
max-width: 50rem !important;
}
.shopify-payment-button {
width: 50rem !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
You can try again with this code:
.product-form__buttons {
display: flex !important;
align-items: flex-start !important;
max-width: 50rem !important;
}
.shopify-payment-button {
width: 50rem !important;
margin-left: 10px !important
}
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Great thanks a lot.
Do you have a solution to put the “guide des tailles” pop-up next to the quantity selector?
Hey @Dalila2,
Can you try adding this
.shopify-payment-button__more-options {
position: absolute;
left: 0;
}
.product-form__buttons {
display: flex;
justify-content: space-around;
gap: 15px;
}
button#ProductSubmitButton-template--20581406081373__main {
width: auto;
}
@Dalila2 Try this, maybe because the paypal button loads later the first one might have had some issues
.shopify-payment-button__more-options {
position: absolute;
left: 0;
}
.product-form__buttons {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}
When I do editing after the page has loaded it looks to me like this,
Great thanks a lot.
Do you have a solution to put the “guide des tailles” pop-up next to the quantity selector?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024