Shopify themes, liquid, logos, and UX
Hi is anyone able to help me align the product thumbnails to the right of the main image and limit it to two images at a time please?
This is currently:
Would like it look something like this if possible?
My shop preview link is as follows: https://klijtn0qsenfqexg-73804087584.shopifypreview.com
Thanks 🙂
Solved! Go to the solution
This is an accepted solution.
Hi @Melodie1990
Try this one.
<style>
@media only screen and (min-width: 991px) {
slider-component.slider-mobile-gutter:not(.thumbnail-slider) {
margin-right: 180px;
margin-left: 0;
}
slider-component.thumbnail-slider {
width: 180px;
position: absolute;
margin-top: 0;
top: 0;
left: auto;
right: 0;
height: 420px;
}
.product--small .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
height: 200px;
}
.thumbnail-slider .thumbnail-list.slider--tablet-up {
flex: unset;
}
.thumbnail-slider ul.thumbnail-list {
height: 100%;
}
}
</style>
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
@Melodie1990 I’d be happy to help with this! I can adjust the alignment of your product thumbnails to the right of the main image and set it to display two images at a time. Let me know if you’d like to proceed, and I can get started on the changes.
Hi what do you need sorry?
@Melodie1990 To align the thumbnails to the right of the main image, I’ll need to make adjustments in the Liquid code, which may take a little time. I’d be happy to go through the details with you to make sure everything looks just right.
@Melodie1990 I highly suggest you to hire a Shopify developer who can help you out with that. Feel free to let me know if you want me to help you out and I would be more than happy to give you a helping hand. we need collaboration
This is an accepted solution.
Hi @Melodie1990
Try this one.
<style>
@media only screen and (min-width: 991px) {
slider-component.slider-mobile-gutter:not(.thumbnail-slider) {
margin-right: 180px;
margin-left: 0;
}
slider-component.thumbnail-slider {
width: 180px;
position: absolute;
margin-top: 0;
top: 0;
left: auto;
right: 0;
height: 420px;
}
.product--small .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
height: 200px;
}
.thumbnail-slider .thumbnail-list.slider--tablet-up {
flex: unset;
}
.thumbnail-slider ul.thumbnail-list {
height: 100%;
}
}
</style>
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
You're a star thank you so much! sorry quick question, it changes when I change the main image to medium - could you possibly tweak the code for this please? Appreciate all your help 🙂
The preview is already expired.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Done thank you 🙂 And updated preview link is: https://adr2bzv752u1vpcu-73804087584.shopifypreview.com thanks so much!
hanks, and sorry for the confusion. Did you say it changes when you switch the image to medium size? What exactly changes?
Sorry for the confusion - i had forgot to change the desktop media width to large.
I figured out to change part of the code you gave me to .product--large .thumbnail-list.slider
but the formatting has gone awry on desktop and looks like this (below). I've played around with adjusting the width of the thumbnails etc but I can't get it to look good 😞 appreciate your help with this.
Yes, sorry about the confusion. The code applies only to the current design added to your theme. To make it dynamic, custom coding is needed in your store, which would require a developer with access to your store.
Yes, sure. On the code that I provide. find this one,
Change the margin-right: 270px; value. Be careful not to add or remove any other characters—just adjust the numbers. This change will add space to the right, preventing the background from overlapping with the thumbnails.
And save.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Worked perfectly thank you so much!
That worked perfect for me thank you. Do you know if there's a way to keep the height the same as the main preview image no matter the device? So I've adjusted the slider height and looks okay on desktop, when it's on ipad this changes? Thank you ❤️
I have updated the preview in case you needed that. Thanks for your help 🙂
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