Shopify themes, liquid, logos, and UX
How to align "add to cart button" , "share" and " wish list" buttons together side by side in Trade version?
I've tried many things, but the button does not want to move(((( Please someone help me
Solved! Go to the solution
This is an accepted solution.
Hi @margo141,
Please go to Actions > Edit code > Assets > section-main-product.css file and paste this at the bottom of the file:
.product__info-container .st-wishlist-button {
float: right;
margin-top: 5px;
}
.product__info-container .product-form {
max-width: calc(100% - 60px);
}
.product__info-container .product-form .product-form__buttons {
max-width: 100% !important;
}
Hi @margo141
Please share your store link so I can check
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Please add this code to theme.liquid file, after <head> in Sale channels > Online Store > Themes > click '...' in current theme > Edit code
<style>
.product #shopify-block-swishlist_simple_wishlist_wishlist_product_button_cgytHr {
float: right;
margin-top: 28px;
}
.product .product-form { max-width: calc(100% - 70px); }
</style>
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Thank you so much, but it did not work out(((
Hi @margo141,
Please send me the store link, I will check it for you
Hello @margo141
Please add below css code to theme.css file
div#shopify-block-swishlist_simple_wishlist_wishlist_product_button_cgytHr {
right: 0;
position: absolute;
margin-top: 20px;
}
product-form.product-form {
width: 100%;
position: relative;
margin-top: 15px !important;
max-width: 85%;
}
Thank you so much, but it worked out only for two products... I do not have a Theme.css file, so I put it in assets/section-main-product.css file and it worked for 2 products. But how can I change the rest of them?
This is an accepted solution.
Hi @margo141,
Please go to Actions > Edit code > Assets > section-main-product.css file and paste this at the bottom of the file:
.product__info-container .st-wishlist-button {
float: right;
margin-top: 5px;
}
.product__info-container .product-form {
max-width: calc(100% - 60px);
}
.product__info-container .product-form .product-form__buttons {
max-width: 100% !important;
}
Thank you so much!!!! it worked out great!!!!!!
Many thanks!!!!!
Hi @margo141,
If you have any questions, you can contact me directly at email in signature.
Nice to meet you 😊
Thank you so much!! Nice to meet you as well
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025