Shopify themes, liquid, logos, and UX
I understand his requires code, which i am happy to paste in, if i am given instructions as to what and where.
Thank you in advance.
Solved! Go to the solution
This is an accepted solution.
Please update the code to this
<style>
@media (min-width: 60em) {
.product.product--gallery-size-large .product__top {
grid-template-columns: 65% 35% !important;
}
.product__media[data-gallery-style=grid] {
grid-gap: 0 ! important;
}
.product__meta {
margin-left: 40px !important;
}
.product { max-width: 100% !important; padding: 0 40px !important; }
}
</style>
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- 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.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi @onte
Please go to your Online Store > Themes > click "..." > Edit code, open theme.liquid file, after <head> paste this code.
<style>
@media (min-width: 60em) {
.product.product--gallery-size-large .product__top {
grid-template-columns: 65% 35% !important;
}
.product__media[data-gallery-style=grid] {
grid-gap: 0 ! important;
}
.product__meta {
margin-left: 40px !important;
}
}
}
</style>
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- 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.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is great. and worked.
My next question is how do i reduce the padding/white space on either edge of page.
See image below how to reduce the space that is marked in green.
Thank you in advance
This is an accepted solution.
Please update the code to this
<style>
@media (min-width: 60em) {
.product.product--gallery-size-large .product__top {
grid-template-columns: 65% 35% !important;
}
.product__media[data-gallery-style=grid] {
grid-gap: 0 ! important;
}
.product__meta {
margin-left: 40px !important;
}
.product { max-width: 100% !important; padding: 0 40px !important; }
}
</style>
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- 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.
- 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. THIS WORKED and was so easy to implement.
Thank you
Hello Onte,
You can achieve the desired layout by adjusting the CSS in your theme. Follow these steps:
.product__media-container { width: 105% !important; } .product.product--gallery-size-large.product--gallery-style-grid { padding-left: 5px !important; padding-right: 5px !important; }
The first part increases the size of the product images, and the second part reduces the white space to the left and right of the content (image + text).
You can tweak the width or padding values to find the perfect layout for your needs. Let me know if you need further assistance!
Thank you.
Shubham | Untechnickle
Oh, and there’s something brewing behind the scenes that’s redefining customer experience. Curious? It’s time to Revize your store. Don’t say we didn’t warn you.
Hi @onte ,
To make the images in your product pages larger with less white space, while reducing the space around text, follow these steps tailored for the Spark theme:
.product__media-wrapper {
max-width: 100%; /* Allow images to take the full width */
margin: 0 auto; /* Center the image */
padding: 0; /* Remove unnecessary padding */
}
.product__media {
border: 2px solid #f5f5f5; /* Optional: Thin border around the images */
border-radius: 5px; /* Optional: Slightly rounded corners */
}
.product__info {
padding: 20px; /* Reduce space around text */
}
.product__details {
max-width: 600px; /* Adjust text width to balance layout */
margin: 0 auto; /* Center-align text */
}
<div class="product__layout">
<div class="product__media-wrapper">
{{ product.media }}
</div>
<div class="product__info">
{{ product.description }}
{{ product.price }}
{{ product.form }}
</div>
</div>
Got it! If you found my suggestions helpful, please consider liking or marking it as a solution.
Your feedback is appreciated! If you have any more questions or need further assistance, just let me know.
Thanks & Regards
Akshay Bhatt
Hi @onte ,
To make the images in your product pages larger with less white space, while reducing the space around text, follow these steps tailored for the Spark theme:
.product__media-wrapper {
max-width: 100%; /* Allow images to take the full width */
margin: 0 auto; /* Center the image */
padding: 0; /* Remove unnecessary padding */
}
.product__media {
border: 2px solid #f5f5f5; /* Optional: Thin border around the images */
border-radius: 5px; /* Optional: Slightly rounded corners */
}
.product__info {
padding: 20px; /* Reduce space around text */
}
.product__details {
max-width: 600px; /* Adjust text width to balance layout */
margin: 0 auto; /* Center-align text */
}
<div class="product__layout">
<div class="product__media-wrapper">
{{ product.media }}
</div>
<div class="product__info">
{{ product.description }}
{{ product.price }}
{{ product.form }}
</div>
</div>
Got it! If you found my suggestions helpful, please consider liking or marking it as a solution.
Your feedback is appreciated! If you have any more questions or need further assistance, just let me know.
Thanks & Regards
Akshay Bhatt
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