0

I'm building a theme off the back of Luma. I'm mainly doing a few colour changes and moving a few elements around.

When I override the following, it removes the 'Sign In' link from the header:

Magento_Theme/layout/default.xml

Another weird behaviour is:

If I take out my overriding default.xml, redeploy the website (flush the cache etc), the link comes back, then when I put my default.xml back in and redeploy, the link stays until I flush the cache, it then disappears.

3
  • Do not override whole Magento_Theme/layout/default.xml in your theme. just put which content you want to change Apr 30, 2018 at 11:27
  • @hweb87 Thank you, for the changes I want, is this OK? paste.ee/p/ZqIaY#s=0 - It is just moving 2 elements around.
    – cz84
    Apr 30, 2018 at 11:30
  • Yes, Perfect, It's fine Apr 30, 2018 at 11:34

1 Answer 1

2

Do not override whole Magento_Theme/layout/default.xml in your theme. just put which content you want to change

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.