Shopify themes, liquid, logos, and UX
Hi all,
The images that are displayed in my product page are of different size. How do I make them the same size?
Site url: thechillsmart.com
Solved! Go to the solution
This is an accepted solution.
Hello @Chillsmart
Try this -
Go to the online store > theme > Edit Code >Assets >theme.scss.css >add code in this file.
.grid-product__image-mask .image-wrap {
padding-bottom: 100% !important;
}
@Chillsmart you can try this code
Add this css at the bottom
Online Store ->Theme ->Edit code
Assets -> theme.scss.css
.grid-product__image-mask {
height: 220px;
}
It is still the same 😕
This is an accepted solution.
Hello @Chillsmart
Try this -
Go to the online store > theme > Edit Code >Assets >theme.scss.css >add code in this file.
.grid-product__image-mask .image-wrap {
padding-bottom: 100% !important;
}
It worked! Thanks!
Hi,
Is this possible to do with the Craft theme?
Mine is still the same 😞 I have boundless on if that helps
Hello, I am having the same problem with the photos. I was trying to insert that code, but when I reach a certain point, I can't find the "theme.scss.css". Can you help me, please. I am attaching a pic so I can make sense. Thanks
Thanks for this, but I do not have that option. Here is a screen shot of what I see:
online store > theme > Edit Code >Assets >theme.js is the only option I see. My theme is Ella, if that helps.
Hello Ella,
Thanks for your reply.
I was able to manage the problem with help from a friend.
But thanks!!
Ana
I meant to say I am actually having the same problem, lol! Any insights on how to update within the Ella theme?
Checking in for an Update: have you guys found any solution?
I have the same issues using Habitat
Hello @Chillsmart
Go to the oneline store > theme > Edit Code >Assets >theme.scss.css >add code in this file.
.grid-product__image-mask .image-wrap {
height: 220px !important;
}
Hi @Chillsmart
Follow these steps:
.image-wrap {
padding-bottom: 100%;
}
Please let me know if it works.
I have done with so many stores using the below code
https://doublemarvellous.com/blog/equal-heights-of-elements-with-vanilla-js-in-shopify/
Where do you post the code it says in the link? Thanks
Yes its in the link
Hi, I tried this and it didn’t work unfortunately. Can you advise where I can find the line of code now to remove it? Thanks
Hello I have same problem, I added code it helped for computers but it didnt for mobile devices. Do you know why ?
.grid-product__image-mask .image-wrap { padding-bottom: 100% !important; }
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