Shopify themes, liquid, logos, and UX
Dear friends,
I am experiencing an issue with the filter view on my product page.
In horizontal filter view, my 150 products display correctly with a scroll bar.
However, when switching to vertical filter view, the scroll bar disappears, and the product list expands indefinitely, taking over the entire page.
Could you please help implement a scroll bar in the vertical filter view to maintain a consistent user experience?
Thank you for your assistance.
Best regards,
URL: https://ba0ven-x1.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
Hi @Alliance
Thanks for reaching out!
It sounds like the vertical filter view on your product page isn't respecting the scrollable container, which is why the product list expands and takes over the entire page.
This is likely a CSS issue. When switching to vertical filter view, the container that holds your product list may not have a fixed height or overflow setting. To fix this, you can try adding the following CSS:
.collection-products {
max-height: 100vh;
overflow-y: auto;
}
You may need to adjust the class name (.collection-products) based on your theme’s structure. If you’re using a theme like Empire or Impact, this class might be different.
To add this:
Go to Online Store > Themes > Customize.
Click Theme settings > Custom CSS (or go into the code editor if needed).
Paste the CSS code and save.
Dotsquares Ltd
Problem Solved? ✔ Accept and Like solution to help future merchants.
This is an accepted solution.
Hi @Alliance
Thanks for reaching out!
It sounds like the vertical filter view on your product page isn't respecting the scrollable container, which is why the product list expands and takes over the entire page.
This is likely a CSS issue. When switching to vertical filter view, the container that holds your product list may not have a fixed height or overflow setting. To fix this, you can try adding the following CSS:
.collection-products {
max-height: 100vh;
overflow-y: auto;
}
You may need to adjust the class name (.collection-products) based on your theme’s structure. If you’re using a theme like Empire or Impact, this class might be different.
To add this:
Go to Online Store > Themes > Customize.
Click Theme settings > Custom CSS (or go into the code editor if needed).
Paste the CSS code and save.
Dotsquares Ltd
Problem Solved? ✔ Accept and Like solution to help future merchants.
Thank you for the lead and follow up. Sorted out.
.facets-wrapper {
max-height: 100vh;
overflow-y: auto;
padding-right: 90px; /* Reserve scrollbar space */
box-sizing: border-box;
scrollbar-gutter: stable; /* Future-proof */
}
/* Mobile tweaks */
@media (max-width: 767px) {
.facets-wrapper {
padding-right: 12px;
-webkit-overflow-scrolling: touch;
}
}
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025