Home › Forums › Jevelin Theme › Resizing Images Unyson Single Image Widget
Home › Forums › Jevelin Theme › Resizing Images Unyson Single Image Widget
Hi Shufflehound,
Another question:
when you add an image to a page using the single image gallery widget in Unyson, you have to add exactly the right size image otherwise you can’t scale them smaller. The only options for size of image in the widget are large and full. Now this is a problem as it means for smaller images, you have to resize them to such an extent that when you put them on a larger screen they look fuzzy.
Here’s an example: http://romex.mrvandigital.com/products/romex-joint-strengthener/
How do I make the image for the joint strengthener product smaller without having to compress the image and make it smaller in dimensions?
Hi @MrVanDigital,
I hope you are well today and thank you for your question.
You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
.page-id-2357 .sh-single-image-container img {
width: auto;
max-height: 250px;
}
Best regards,
Shufflehound team
Thanks. That’s useful. What if I wanted to apply to all the product pages? There are 15 in total?
To apply it to all pages, just change the above CSS code as following.
.page .sh-single-image-container img {
width: auto;
max-height: 250px;
}If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.