Hello
I want to make the collection page like the photo below
1 Same ratio and size
- No hover image
is it possible to do so?
A user seeks to standardize product images on their collection page with two specific requirements:
Goals:
Solution Provided:
A PageFly support representative offered custom CSS code to be added to the theme.scss.liquid file. The code targets specific collection sections to:
Current Status:
The implementation encountered issues. The user initially reported the code didn’t work, then revealed they had switched back to their original theme temporarily. After switching to the new theme again, they clarified wanting all collection page images in portrait ratio and responsive on mobile. The support representative provided additional CSS for tablet/mobile responsiveness. The conversation remains ongoing as the solution is being refined.
Hello
I want to make the collection page like the photo below
1 Same ratio and size
is it possible to do so?
Hi @oscaroline
Could you share your store URL to check?
If you are using free Shopify theme, please change Image ratio in Online store > Themes > Customize > click drop down menu on the top > Collections >Default collection > Product grid > Image ratio
Hi [email removed]Oscaroline,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.scss.liquid or theme.scss
Step 3: Paste the below code at the bottom of this file ⇒ save
@media(min-width:767px){
#shopify-section-16124492363235013c figure.flex-column-reverse{
flex-direction: column !important;
}
#shopify-section-16124492363235013c figure a:has(img){
height:395px !important
}
#shopify-section-16124492363235013c figure a:has(img) img{
object-fit: cover;
height:inherit;
width:100%
}
}
Hope my solution works perfectly for you.
Cheers!
Oliver | PageFly
it doesnt change anything ![]()
Can you share the screenshot of the position you added the code to?
Hi @oscaroline ,
I re-check but I see you are changing the theme
yes I had to go back to my original theme because the new one is not ready yet.
I changed it back to new one Please check.
I want to change the images on collection page all portrait ratio
and responsible on mobile as well
thank you
Hi @oscaroline ,
You can add
@media screen and (max-width: 989px){
.slider.slider--tablet {
flex-wrap: wrap !important;
}
}