Hi guys, I am very frustrated about this issue (I know there have been similar topics, but none have helped).
PROBLEM: Featured Collection Grid in Home Page looks like this
What I want to do is I want to make pictures look at least twice as big, if not bigger (only in featured collection, on product page they look fine). Pictures are definitely big enough themselves (1133x1700).
How do I go about this??
Forever grateful,
Lukas
Solved! Go to the solution
Please share your website URL and password if any. I will check and provide a solution here.
Thanks!
Please provide website url and if your store is password protected then also provide password
Sorry for late response - long day at work - and big thanks for the reply!
Site: https://chocolateinbetween.myshopify.com/
Pass: fanuth
Please add the following code at the bottom of your assets/theme.scss.liquid file.
#shopify-section-featured-products .product--wrapper .product--image {
max-width: 100% !important;
max-height: 100% !important;
width: 100%;
height:100%;
}
Hope this helps.
Thanks!
Did you put this code on your website?
Let me know so I will check your website.
This is an accepted solution.
Please add the above given code and the following new code too. This should work.
@media screen and (min-width: 591px){
.product--wrapper {max-width: 100% !important;}
}
Thanks!
Hey man, your are the M.V.P. !!! Works just fine, huge thanks!!
Last question - is it possible to somehow adjust the exact size? I've tried playing with 591px, for example I've set it at 791px, but it doesn't change anything. Is there a possibility of adjustment or does it require something more complex?
Big thanks, mate!
Sorry to say but it is not possible because we have to follow the structure and norms of the theme the way it coded. If we do that then it will get problems with other devices.
Hope you understand.
User | Count |
---|---|
551 | |
208 | |
125 | |
83 | |
44 |