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;
}
@margo141 - I think all of these fields are having separate sections and hence those are not moving, ,ay need code editing
Hi @margo141
Please share your store link so I can check
- Helpful? Like and Accept solution! Support me! Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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 and Accept solution! Support me! Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024