Shopify themes, liquid, logos, and UX
Hi. I would like to change the orientation of the product detail page to vertical as shown in the example image below without using an app.
I'd appreciate it if you could tell me how to edit the code.
+ Additional questions
The thumbnail changes depending on the variant, but I want to add a prev/next button to the thumbnail to add a slide function like example . Can I do this without the app?
Here is the preview link of my site. I'm using the latest version of the Dawn Theme.
https://8v98ymydey103ial-86858006827.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
Hello Zenir,
Hope you are doing well.
I am San from MS Web Designer.
Here is the solution:
Go to Online Store->Theme->Edit code > Asset->/base.css->paste below code at the bottom of the file:
@media (min-width: 750px) {
.product--thumbnail_slider .thumbnail-slider {align-items:flex-start !important;}
.product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide{margin-bottom:5px !important}
.product--thumbnail_slider {
position: relative;
}
.product--thumbnail_slider media-gallery {
display: flex;
flex-direction: row-reverse;
}
.product--thumbnail_slider .slider-mobile-gutter:not(.thumbnail-slider) {
width: calc(100% - 100px);
}
.product--thumbnail_slider .thumbnail-slider {
width: 100px;
padding-right: 10px;
}
.product--thumbnail_slider .slider-button {
display: none !important;
}
.product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up {
padding: 0;
display: block;
}
.product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
width: 100%;
}
If you have any concerns feel free to ask.
Regards,
San
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
This is an accepted solution.
Hello Zenir,
Hope you are doing well.
I am San from MS Web Designer.
Here is the solution:
Go to Online Store->Theme->Edit code > Asset->/base.css->paste below code at the bottom of the file:
@media (min-width: 750px) {
.product--thumbnail_slider .thumbnail-slider {align-items:flex-start !important;}
.product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide{margin-bottom:5px !important}
.product--thumbnail_slider {
position: relative;
}
.product--thumbnail_slider media-gallery {
display: flex;
flex-direction: row-reverse;
}
.product--thumbnail_slider .slider-mobile-gutter:not(.thumbnail-slider) {
width: calc(100% - 100px);
}
.product--thumbnail_slider .thumbnail-slider {
width: 100px;
padding-right: 10px;
}
.product--thumbnail_slider .slider-button {
display: none !important;
}
.product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up {
padding: 0;
display: block;
}
.product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
width: 100%;
}
If you have any concerns feel free to ask.
Regards,
San
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
Thumbnail alignment is now vertical, thank you. Do the previous / next slide buttons require an app or special code editing?
Move thumbnail images to the left:
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024