Magento 2.1.9

I want to change the privacy policy link text, it's located at,

Privacy-cookie: magento2/vendor/magento/module-cms/view/frontend/layout/default.xml

If I edit it there, it works fine. However we all know you don't edit core files, so I copied the file to my custom theme,


However the changes aren't being loaded. Where is the correct place in my custom theme to put default.xml so that it overrides the magento default one?


You have a wrong directory name. rename module-cms to Magento_Cms. Also, you don't need to place it into view/frontend. So that the correct path is:


|improve this answer|||||
  • 1
    Just double checked, path is correct in my post on a fresh install of magento 2.1.9 vendor/magento/module-cms/view/frontend/layout/default.xml – user1155594 Oct 18 '17 at 3:15

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.