New to Magento 2 and not quite understanding the docs. In child Luma theme I am trying to move the currency switcher to the main header area (next to the minicart) but having no luck with it.
In /app/design/frontend/MyVendor/MyTheme/Magento_Theme/layout I placed the following default.xml:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <move element="currency" destination="header" after="minicart"/> </page> The switcher disappears from the panel header, but doesn't appear where I expect. I tried various combinations of before and after blocks and tried to move it to different blocks like maincontent, but in all cases I can't get it to show. There are a couple of previous posts from people trying to move the currency switcher but no successful answers so far. Is it possible? Moving it by phtml didn't work at all.
moveinto<body>tag & put <?xml version="1.0"?> at the starting of xml