Shopify themes, liquid, logos, and UX
Our website is www.greenpeareco.com
We currently have a lot of blocks on the product page meaning people have to scroll a fair bit to get past the "frequently bought with..." and subscription options.
Please can someone provide the code edits to move the quantity selector either next to the buy buttons or the price?
Thank you
Solved! Go to the solution
This is an accepted solution.
Hi @Greenpeareco ,
I have written custom CSS. Can you try this and let me know if this works.
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>
<style>
.product-single__meta > div[data-product-blocks] {
display: flex;
flex-wrap: wrap;
}
.product-single__meta > div[data-product-blocks] div.product-block:nth-child(1),
.product-single__meta > div[data-product-blocks] div.product-block:nth-child(n+4){
width: 100%;
}
.product-single__meta > div[data-product-blocks] div.product-block:nth-child(2) {
margin-right: 3rem;
}
</style>
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
This is an accepted solution.
Hi @Greenpeareco ,
I have written custom CSS. Can you try this and let me know if this works.
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>
<style>
.product-single__meta > div[data-product-blocks] {
display: flex;
flex-wrap: wrap;
}
.product-single__meta > div[data-product-blocks] div.product-block:nth-child(1),
.product-single__meta > div[data-product-blocks] div.product-block:nth-child(n+4){
width: 100%;
}
.product-single__meta > div[data-product-blocks] div.product-block:nth-child(2) {
margin-right: 3rem;
}
</style>
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
Perfect, thank you so much
Hi, I tried to enter the code on my shop, but it doesn't work.
The quantity and price remain in their original position, i.e. one below the other and not close together.
I'm very interested in this change, thanks!
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024