Archived topic
Add scroll to drop down cart
7 replies · Started by Kim on August 11, 2019
Hi there, it would be nice to have a scroll option in the drop down cart for the products (Flatsome theme has this for instance). If I add a lot of products to the cart, I can't access the buttons anymore as the cart disapears on scrolling the page.
BR Maike
Hi there,
thats a very good point - thanks for highlighting this.
Can you try adding this CSS and let us know if it works for you, maybe we can add this into the next update:
#wc-mini-cart ul.woocommerce-mini-cart {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
max-height: 500px;
max-height: 50vh;
}
David, this works perfectly! It could still be a little bit less.
Thats great. Thank you finding the issue, we will include a fix for this in the next major update to GP Premium.
You can try adjusting the two max-height properties down to reduce the size of the window if required.
Top notch support :-)
Thank you :)
Hi David, I saw that you added it to GPP 1.9.0-alpha.1 but removed it in 1.9.0-rc.3. Should I go on with the custom css then?
Best regards!
Yes, please use the CSS as it works fine with your set-up.
We noticed a minor issue if the thumbnails are portrait and taller then description it causes the scrollbars to appear all the time. So still looking at a fix for that.