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: [email protected]
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: [email protected]
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?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024