Shopify themes, liquid, logos, and UX
Hello there,
In my product page, at the bottom, I have related product sections
I would like to have these related product appear as slideable carousel and not as vertical column
please not I was able to acheive this for desktop view, but the issue still exist for mobile view.
please help
site
https://www.mabooz.shop/products/booz-r6
Solved! Go to the solution
This is an accepted solution.
With CSS only this is the best I can do, Integrating a custom carousell is not the easiest this to do. Try this horizontal scroll version and see if you like it.
.related-products .grid.product-grid.grid--1-col-desktop.grid--2-col-tablet-down {
display: flex;
flex-wrap: nowrap;
overflow: scroll;
}
This is an accepted solution.
Hi Mabooz9561,
In Shopify Admin, navigate to "Edit theme code", then open the "base.css" file and add the following code at the end:
@media (max-width: 768px) {
.related-products .grid.product-grid.grid--1-col-desktop.grid--2-col-tablet-down {
display: flex;
flex-wrap: nowrap;
overflow: scroll;
}
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
This is an accepted solution.
With CSS only this is the best I can do, Integrating a custom carousell is not the easiest this to do. Try this horizontal scroll version and see if you like it.
.related-products .grid.product-grid.grid--1-col-desktop.grid--2-col-tablet-down {
display: flex;
flex-wrap: nowrap;
overflow: scroll;
}
Where I need to put this code?
This is an accepted solution.
Hi Mabooz9561,
In Shopify Admin, navigate to "Edit theme code", then open the "base.css" file and add the following code at the end:
@media (max-width: 768px) {
.related-products .grid.product-grid.grid--1-col-desktop.grid--2-col-tablet-down {
display: flex;
flex-wrap: nowrap;
overflow: scroll;
}
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
i add the code but no result, can you help me
Hey,
Do you mind show how did you add the related product to the section? I am using DAWN theme, and I saw the pre-made section, but I dont know how to add stuff to it
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025