0

I am getting expanded tabs for all attributes in layered navigation when category page loads. I want navigation like this on page load enter image description here

Does anyone have any idea about it?

0

You need to create

Magento_LayeredNavigation/templates/layer/view.phtml

to your theme folder.

Now change,

data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": false, "multipleCollapsible": false}}'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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