All things Shopify and commerce
Hello!
I don't know how to fix this and would like some help.
I want the main image to fill out the page and the images on the left of it to only show 4, and be more of a verticle or horizontal carousel?
Can anyone assist me with this? See image for reference.
Thank you!
Hello @mlmrepublic , Can you please the Store URL? It will help me to understand this better.
Hello @mlmrepublic , Add the below code to your "theme.liquid" file before </body> tag.
<style>
.product__primary-left .product__media .product__media-item {
width: 100%;
height: 100%;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function () {
$('.product-thumbnails__items').slick({
slidesToShow: 4,
slidesToScroll: 1,
focusOnSelect: true,
vertical: true,
responsive: [
{
breakpoint: 768,
settings: {
slidesToShow: 4,
slidesToScroll: 1
}
}
]
});
});
</script>
Also, add the below CDN for the slick slider in the "theme.liquid" before </head>.
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css">
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
.product__primary-left .product__media .product__media-item {
width: 100% !important;
height: 100% !important;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js" defer></script>
<script>
$(document).ready(function () {
$('.product-thumbnails__items').slick({
arrows: true,
slidesToShow: 4,
slidesToScroll: 1,
infinite: true,
vertical: true,
});
});
</script>
.slick-prev {
display: none !important;
}
[data-scroll-container][data-axis="vertical"] .scroll-button[data-position="end"] {
bottom: unset !important;
}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025