Shopify themes, liquid, logos, and UX
I want to create customer testimonials but the images are too big. How do I shorten the image size so that I can choose the size I want?
Solved! Go to the solution
This is an accepted solution.
It will more likely only need CSS changes. You can see if this works for your needs but it can be difficult sometimes to give a blanket answer for images that are using ratios. There are about a dozen ways to 'shorten' the image but then you also want it to look balanced in the card. Sometimes changing 1 thing can alter the appearance of the car itself. For example leaving too much white space between the image and the description.
You can try this out. When in the customizer and within the section you want to edit, scroll down in the left menu to where it says Custom CSS.
Try out this code:
img{
max-height: 200px;
}
The size 200px can of course be changed to whatever number you want followed by px. The smaller the number, the smaller the height.
Hi @Jman4
Changing the image size for a multicolumn layout is not available through the default button in the theme editor. This will need to be modified through code or by using Liquid code. Add your image first then we will edit the size.
How do I change the size of the images by using liquid code?
This is an accepted solution.
It will more likely only need CSS changes. You can see if this works for your needs but it can be difficult sometimes to give a blanket answer for images that are using ratios. There are about a dozen ways to 'shorten' the image but then you also want it to look balanced in the card. Sometimes changing 1 thing can alter the appearance of the car itself. For example leaving too much white space between the image and the description.
You can try this out. When in the customizer and within the section you want to edit, scroll down in the left menu to where it says Custom CSS.
Try out this code:
img{
max-height: 200px;
}
The size 200px can of course be changed to whatever number you want followed by px. The smaller the number, the smaller the height.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024