Make Product Images Smaller On Desktop

Topic summary

A user seeks to reduce product image sizes on desktop to prevent scrolling and ensure full visibility within the viewport. The issue affects the Stiletto theme, where product galleries display too large on desktop screens.

Proposed Solution:

  • Add CSS to theme.css/base.css targeting image dimensions with width/height adjustments and object-fit properties
  • Additional CSS provided to adjust thumbnail spacing from the left edge

Follow-up Issues:

  • Selected thumbnail displays an unwanted border/box
  • User requested replacing the border with a 0.2 opacity black overlay on active thumbnails
  • CSS code provided to address the border issue, but reported as ineffective

Current Status:

  • The discussion remains unresolved, with the original poster’s border removal not working
  • A new participant reports experiencing the same problem months later (July 2025), describing it as “ugly and unprofessional”
  • No confirmed working solution for the thumbnail selection styling issue has been established
Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

Hello,

I was wondering how can I adjust the size of the product images on the product page on desktop version only.

Currently, on desktop, the images shown are too big and they don’t fit on the visible page, which makes you scroll down a bit in order to see the full image.

I want to make the image a bit smaller so that it fits the natural dimensions of the screen and the whole image would be visible without the need to scroll down.

My theme is Stiletto and my website is www.truepodium.com (password: y22)

How it looks like:

As you can see, the bottom of the image doesn’t fit in the screen, and the whole gallery is too big.

How it should look:

Everything fits perfectly on the screen and the gallery is not too big.

Thanks in advance!!!

Hello,

  1. Go to Online Store
  2. Edit Code
  3. Find theme.css/base.css file
  4. Add the following code in the bottom
img.image__img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}

Thanks!

The image thumbnails are too close to the left edge of the screen. Is there any way to add a small gap there?

@martujv sorr for late reply,
Try this one, this code working in myy desktop

ul.product-thumbnails__items {
    flex-direction: column !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 5px !important;
    text-align: center !important;
    margin-left: 6px !important;
}

The only problem now is that the selected image’s thumbnail has a weird box around it:

Is there any way to remove that border? Or to add a black 0.2 opacity to the selected image instead? Something like this:

.product-thumbnails__item-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

Hello, tried the code but nothing changed

Has anyone come up with a solution for this problem? I have this issue and it is super annoying. On desktop it looks really ugly and unprofessional.