I want to display minicart scrollbar when there is more then 4 product in cart i tried to set it from

Store-> Configuration -> Checkout -> Shopping Cart

Sidebar but it not work for me 2

2 Answers 2


You can use this css to display minicart scroll

.minicart-items-wrapper  {
      max-height: 400px !important;

Looks like you use custom theme in your magento instance may be they have changed something in sidebar.js file, try below file to debug more for scrollbar not coming in minicart.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.