Shopify themes, liquid, logos, and UX
Hi - can anyone help? Currently, my thumbnails are stacked on each other in a square shape with no space between the thumbnails.
Instead - I would like to make my thumbnails on the left side to be circular and have space between them like this example....I am using the Dawn theme.
Thank you!
Hey @jcrispy,
Could you share the link to your store? And please share a screenshot of the thumbnails you want to amend if possible. Thanks!
This is what I'd like to accomplish for my products page!
Please share your store link as well please.
Currently my product page images are stacked. But I would like them to look like the image I provided.
This is what I have right now...
Wondering how to get thumbnails to the left of the main picture and to make the thumbnails a circle shape.
Thank you!
Hey @jcrispy,
I didn't realise you changed the slider halfway, I was already writing the code and once you changed I had to restart all over again.
Anyway I completed it now, and it is nice on desktop, but on mobile it's not so nice so I disabled it for mobile.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
@media only screen and (min-width: 750px) {
.product--thumbnail_slider .thumbnail-slider {
flex-direction: column !important;
align-items: normal !important;
}
.thumbnail-slider .thumbnail-list.slider--tablet-up {
flex-direction: column !important;
}
.thumbnail.global-media-settings img {
width: 100px !important;
height: 100px !important;
border-radius: 50% !important;
}
.thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
height: 100px !important;
width: 100px !important;
}
button.slider-button.slider-button--prev {
display: none !important;
}
button.slider-button.slider-button--next {
display: none !important;
}
media-gallery.product__column-sticky[aria-label="Gallery Viewer"] {
display: grid !important;
grid-template-columns: auto 1fr !important;
}
.thumbnail-slider.slider-mobile-gutter.quick-add-hidden {
order: -1 !important;
}
.thumbnail[aria-current] {
border-radius: 50% !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Oh my gosh - I'm so sorry! I apologize!!!
Let me see if this works.
No worries, just refresh the page here, I edited the post and changed the code abit. I forgot to add some priorities
It worked for my tees and sweatshirts collections, but my totebags, glassware and mens section - the photos went away?
Hey @jcrispy,
I see that the sections totebags, glassware and mens are using the old stack method, maybe it's a different product template? Can you switch them to the new slider that you did for the others?
Oh yes - let me try that!
So it seems if my product only has one picture, then it has disappeared?
If you're talking about the gift card, I see that also is using the stack method. What happens when you try to switch it to the slider? Or any product with one picture for that matter.
In case @jcrispy,
You could replace the code with this one which will check if the slider is enabled and only then apply the effect.
Just remove the code from the previous post and replace it with the one below. You don't need to change anything else.
<style>
@media only screen and (min-width: 750px) {
.product--thumbnail_slider .thumbnail-slider {
flex-direction: column !important;
align-items: normal !important;
}
.thumbnail-slider .thumbnail-list.slider--tablet-up {
flex-direction: column !important;
}
.thumbnail.global-media-settings img {
width: 100px !important;
height: 100px !important;
border-radius: 50% !important;
}
.thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
height: 100px !important;
width: 100px !important;
}
button.slider-button.slider-button--prev {
display: none !important;
}
button.slider-button.slider-button--next {
display: none !important;
}
media-gallery.product__column-sticky[aria-label="Gallery Viewer"]:has(.thumbnail-slider) {
display: grid !important;
grid-template-columns: auto 1fr !important;
}
.thumbnail-slider.slider-mobile-gutter.quick-add-hidden {
order: -1 !important;
}
.thumbnail[aria-current] {
border-radius: 50% !important;
}
}
</style>
I
I just checked and I did the same thing to all my product templates...with the thumbnails/carousel. But any product listings with one photo has gone away (Gift card, or some of my totes and glassware).
Try the code I just posted above @jcrispy, so far it seems to work when I test it.
YES!!! Amazing 🙌 Thank you so very much!!! I spent hours trying to figure this out yesterday and this morning. I appreciate it!!!
Before you first replied, I was about to go to sleep, it's almost 5am for me now. Glad I could help you out
@jcrispy Hope you are doing well.
Did you check if your theme settings provide such an option in theme customization?
Circular thumbnails:
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