0

I want to copy the style and functionality of luma layered navigation to my custom theme - parent is blank theme. If I copy the Magento_LayeredNavigation of luma theme to my custom theme <vendor>/<theme>/Magento_LayeredNavigation

then it re-styles everything.

enter image description here

I think I need to copy some additional files/modules to my custom theme?! Maybe I just need some CSS which I need to append to my _extend.less files?!

Can you give detailed instructions how to solve this problem? Thank you!

1
0

U should make a child theme of luma to achieve this rather making a different custom theme. Here is a reference link on how to create a child theme. https://www.google.com/amp/s/meetanshi.com/blog/create-child-theme-in-magento-2/amp/

3
  • We have more abilities to customize with blank theme. Thank you! – Samuel Demir Sep 27 '20 at 20:21
  • In that case, there is only one way to do it. Copy directory /vendor/magento/module-layered-navigation/view/ in to /app/design/frontend/Vendor/YourTheme/Magento_LayeredNavigation/ – Arbab Ahmed Sep 28 '20 at 21:15
  • This does not work! I saw your answer in a other question. The reason ist, that the relevant css is not included! – Samuel Demir Sep 30 '20 at 10:22

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.