Shopify themes, liquid, logos, and UX
Hey,
1. I would like to know how to place the product page's content in the middle only on desktop.
2. How can I increase the left margin in collection page on mobile only?
3. How can I decrease the margin between product image and logo on product page?
Solved! Go to the solution
This is an accepted solution.
yes please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/timber.scss.liquid->paste below code at the bottom of the file.
.product-single {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
body.template-product .main-content {
padding-top: 0px;
}
@media screen and (max-width: 590px) {
#CollectionSection {
padding: 0px 15px;
}
}
Sorry you are facing this issue, it would be my pleasure to help you.
Please share your site URL,
I will check out the issue and provide you a solution here.
This is an accepted solution.
yes please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/timber.scss.liquid->paste below code at the bottom of the file.
.product-single {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
body.template-product .main-content {
padding-top: 0px;
}
@media screen and (max-width: 590px) {
#CollectionSection {
padding: 0px 15px;
}
}
Wow! It worked! Thank you so much. I appreciate it.
In case I want to decrease the size of the product description table, would it still be in the middle?
yes please try this global code work as well
its my pleasure to help us
I have figured out the 2 and 3 so you can help me with number 1.
@Pam9
Hi,
Welcome to the Shopify Community.
We are always happy to help you.
Sir, Kindly Share your Store URL.
Thank you.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024