I am editing the ‘electro’ theme and I haven’t purchased it yet but my biggest concern is the product page small thumbnails, not all pictures are showing. There is no arrow or wayfinding to indicate there are more pictures.
There is not option to even show all thumbnails or carousel it. You have to scroll to see all pictures and this is quite annoying.
Is there some type of CSS or code I can show all thumbnails?
Since you haven’t purchased the Electro theme yet, you can try a custom CSS solution to display all thumbnails on the product page without the need to scroll. Here’s a CSS snippet that you can inject into the theme to make the thumbnails visible all at once:
Follow These Steps:
Online Store
Themes
Click on Customize for the the Electro theme.
go to Edit code
Open the theme.css or styles.css file(sometimes it’s under Assets).
Use a JavaScript/jQuery-based carousel library like Slick or Swiper.
Add the JavaScript and CSS for the carousel in your theme files.
Initialize it on the thumbnail container using custom JavaScript.
Let me know if you need help integrating the carousel or further adjustments!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!
Thank you for this but it didn’t work, and even targeting ‘.product-slideshow’ didn’t work.
I have to add the CSS in the custom css under products section. As I cannot “edit code” since I haven’t purchased it yet. I need to make sure this works before I purchase or else I will waste money.
Let’s try a different approach to adjust the layout to show all thumbnails without scrolling:
/* Allow all thumbnails to be visible */
.product-slideshow__thumbnails-wrapper {
max-height: none !important;
overflow: visible !important;
}
/* Display thumbnails in a vertical grid */
.product-slideshow__thumbnails {
display: grid !important;
gap: 10px; /* Adjust spacing between thumbnails */
grid-auto-rows: min-content;
justify-items: center;
}
/* Control thumbnail size */
.product-slideshow__thumbnails img {
max-width: 80px; /* Adjust as necessary */
height: auto;
object-fit: cover;
}
Try this updated CSS in the Custom CSS field under the “Product” section, and let me know if this resolves the issue! If not, we can inspect further adjustments based on specific class behaviors in the Electro theme.
Thanks for this, it didn’t work but I manage to get some few tweaks from your post to make it work. I did a simple fix and responsiveness seems to be fine.
Great job on finding a solution! It looks like your fix addresses the main issue by removing the height limitation on the thumbnails and ensuring responsiveness for larger screen sizes with the media query.
Your approach of setting max-height: none for .product-slideshow__thumbs is a solid way to ensure that all thumbnails are visible. Additionally, adding the media query for larger screens (min-width: 769px) helps ensure the slideshow looks good across devices.
If you need further customization or tweaks in the future, feel free to ask. I’m glad to hear that responsiveness is working well now!