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.
A user seeks help removing unwanted padding and spaces around product page images in their Focal theme, and wants to increase image sizes on both product and collection pages.
Proposed Solutions:
Multiple respondents provided CSS code snippets to address the padding issues:
theme.liquid file before the </head> tag.product__media-item and .product.product-thumbnails-bottom classes into theme.css file.product__media-item { padding: 0 !important; }) to the bottom of theme.css file in AssetsCurrent Status:
The user implemented one solution but reports it requires multiple page refreshes to fully load, indicating the issue remains unresolved. The discussion appears ongoing with no confirmed working solution yet.
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
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.product–thumbnails-bottom {
margin-top: 0 !important;
}
.product__media-item {
padding-left: 0 !important;
padding-right: 0 !important;
}}
Hope that my solution works for you.
Best regards,
Henry | PageFly
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;
}