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

1 Answer 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! Commented Sep 27, 2020 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/ Commented Sep 28, 2020 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! Commented Sep 30, 2020 at 10:22

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.