Shopify themes, liquid, logos, and UX
Hi,
Please help to remove unwanted padding and spaces arround product page pictures.
also please help to increase the image sizes of the products in products in the collection pages.
Please go to
1) Online store
2) Themes -> Edit theme
3) Layout
4) theme.liquid and paste this code before </head>
<style>
@media screen and (max-width: 740px) {
.product:not(.product--featured) {
margin-top: 0px !important;
}
}
@media screen and (max-width: 999px) {
.product__media-item {
padding-left: 0px !important;
padding-right: 0px !important;
}
}
</style>
Hi @shivamnew
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file -> Save
@media screen and (max-width: 767px){
.product__media-item {
padding-left: 0 !important;
padding-right: 0 !important;
}}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
i implemented the code but it taking time to load
mean after multiple refreshes it in full
Hello @shivamnew
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->theme.css>Add this code at the bottom.
.product__media-item {
padding: 0 !important;
}
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