All things Shopify and commerce
https://kashco-interiors.myshopify.com/products/chobi-dye-kilim-7-x-10-feet
https://kashco-interiors.myshopify.com/products/chobi-dye-kilim-2-5-x-12-feet
https://kashco-interiors.myshopify.com/products/chobi-ziegler
https://kashco-interiors.myshopify.com/products/chobi-dye-kilim-2-5-x-10-feet
I want to ensure that my large product images are fully visible i.e. increase the height of the image viewer and likewise it should fit in the thumbnail according to the image.
Also, how can I make the product recommendation fit the complete window and make it large ? Appreciate your help.
Solved! Go to the solution
This is an accepted solution.
Hey @kashco
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.product__media.media.media--transparent img {
object-fit: contain !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @kashco
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.product__media.media.media--transparent img {
object-fit: contain !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks. That worked. What about the collection grid image - how can we achieve the same effect please ?
https://kashco-interiors.myshopify.com/collections/bedroom-furniture
https://kashco-interiors.myshopify.com/collections/handwoven-rugs
Hey @kashco
Keep the previous code and add this new code above </style> in the end of theme.liquid file.
.card .media img {
object-fit: contain !important;
background: white !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Is it possible to add like a border (line around the product cards in the grid view). Also my recommended product - how can I make it to big to fit the whole window ?
Hey @kashco
Again, keep the previous code and add this new code above </style> in the end of theme.liquid file.
.card--card .card__inner .card__media {
border-radius: 0 !important;
border: solid 1px black !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025