Shopify themes, liquid, logos, and UX
Hello on my MOBILE website https://auraliving.nl/ + https://auraliving.nl/products/flame-aroma-diffuser-deluxe
I have a product at the top which is currently not showing the photo / product correctly, as u can see in the photo below its cut out at the left side which makes it clunky and incomplete, i tryed to fix this and the orginal photo i use doesnt look like this but since its portraited it gets this look, can somebody resize / fix / code it so it will show properly ? i post the website and the orginal picture below. thanks guys.
Solved! Go to the solution
This is an accepted solution.
Hi @NinoB97 ,
Thank you for sharing the details of the issue you're experiencing with the product images on your mobile website. It looks like the images are being cut off, which can indeed make them appear clunky and incomplete. To address this, you can adjust the object-fit property to ensure the images display correctly without being cropped.
Here's a step-by-step guide to help you add the necessary code to your theme.liquid file:
Add the following CSS code within the <style> tag or create a new <style> tag if it doesn't exist:
.card__media .media img {
object-fit: contain;
}
img.image-magnify-hover {
object-fit: contain;
}
Save Your Changes:
Explanation
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
Hi @NinoB97
Can you kindly share the details of your problem (screenshot/ record) with us? We will check it and suggest you a solution if possible.
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
u can see it in the above picture and on the website, the left side of the black product is cut and i dont know why cause am using the one u see its fully sized
Hi @NinoB97
Please change the settings of that section to Square or Adapt to image to solve your issue
- Helpful? Like and Accept solution! Support me! Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hi @NinoB97 ,
Thank you for sharing the details of the issue you're experiencing with the product images on your mobile website. It looks like the images are being cut off, which can indeed make them appear clunky and incomplete. To address this, you can adjust the object-fit property to ensure the images display correctly without being cropped.
Here's a step-by-step guide to help you add the necessary code to your theme.liquid file:
Add the following CSS code within the <style> tag or create a new <style> tag if it doesn't exist:
.card__media .media img {
object-fit: contain;
}
img.image-magnify-hover {
object-fit: contain;
}
Save Your Changes:
Explanation
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024