This is my website on mobile ![]()
I don’t want to show the next image on the right side also add dots under the image to indicate there’s more images and make image height larger like the reference website shown below.
This is how i want it to be ![]()
Goal: On the mobile product page (Shopify Dawn), hide the side preview of the next image, add pagination dots under the main image, and increase image height to match a reference site.
Setup changes: Enabled “Show thumbnails” in theme settings. Because custom color swatches were filtering images via image Alt text (metafield-based variant mapping), Alt text was removed so all images show across variants.
Implementation: CSS added to base.css to hide slider arrows, center thumbnails, turn thumbnails into circular dots, set dot size (e.g., 16px), and style the active dot via the aria-current attribute. Product media set to 100% width on mobile.
Results: Dots and sizing largely work after adjustments. Remaining issue: the active (black) indicator only appears starting from the 4th/5th slide, and white borders show between first and last slides. The helper couldn’t reproduce and suggested the active thumbnail may be off-screen due to multiple thumbnail rows; the product URL was shared for debugging.
Status: No final fix yet; issue remains open. Visual attachments (screenshots) are central to understanding the design.
Additional note: Another user applied the code but reports the line/dot slider is too large on their mobile product page and asks for sizing help.
This is my website on mobile ![]()
I don’t want to show the next image on the right side also add dots under the image to indicate there’s more images and make image height larger like the reference website shown below.
This is how i want it to be ![]()
Hi @basically
Could you try go to your Online store > Themes > Customize > Products > Default product > Product information > Mobile layout > select Show thumbnails option then I can provide the code
Done.
Hi, are you using custom swatches variation?
It’s Dawn theme, so yes I had to.
Customized swatches variation does not allow select images from non-selected variation so I cannot provide the code for the dots.
What’s the alternate? I need to show color swatches too
If that app has option to show all images maybe I can help you
It’s not an App it’s actually a metafield color variant and changed the images Alt text similar to the variant which allowed it to show only selected images as per selected variant.
I can remove the Alt text from all the images if you want, does that help… thus shows all the images regardless which variant is selected.
Yes, please try to do that.
All products are shown now. Please check
Let me check
Please add this code at the bottom of your base.css file
@media screen and (max-width: 749px) {
.slider-button { display: none !important; }
.thumbnail-list__item.slider__slide {
justify-content: center;
}
.thumbnail-list__item.slider__slide .thumbnail {
background: #ddd !important;
border-radius: 50% !important;
}
.thumbnail-list__item.slider__slide .thumbnail img { opacity: 0 !important; }
.thumbnail-list__item.slider__slide .thumbnail[aria-current] {
background: #000 !important;
border: unset !important;
}
}
Sorry, missing that code. Please update to this one
@media screen and (max-width: 749px) {
.slider-button { display: none !important; }
.thumbnail-list__item.slider__slide {
justify-content: center;
}
.thumbnail-list__item.slider__slide .thumbnail {
background: #ddd !important;
border-radius: 50% !important;
width: 16px !important;
height: 16px !important;
}
.thumbnail-list__item.slider__slide .thumbnail img { opacity: 0 !important; }
.thumbnail-list__item.slider__slide .thumbnail[aria-current] {
background: #000 !important;
border: unset !important;
}
}
Please update code to this
@media screen and (max-width: 749px) {
.slider-button { display: none !important; }
.thumbnail-slider .thumbnail-list.slider {
justify-content: center;
width: 16px !important;
height: 16px !important;
}
.product__media-list .product__media-item { width: 100% !important; }
.thumbnail-list__item.slider__slide .thumbnail {
background: #ddd !important;
border-radius: 50% !important;
}
.thumbnail-list__item.slider__slide .thumbnail img { opacity: 0 !important; }
.thumbnail-list__item.slider__slide .thumbnail[aria-current] {
background: #000 !important;
border: unset !important;
}
}
It didn’t became dotted but it turns out to be awesome!! ![]()
Now the issues are the black indicator only shows up after 4 slides, and for all the slides in between 1st and last product slide the white border comes.
Please check the reference website below which exactly we want.
I cannot see that border on my side
Hm…the black dot only appears from 4th product slider onwards