0

Is it possible to move block or container in Magento 2 only for specific device?

For example, I want to move minicart like that

<move element="minicart" destination="header.panel" before="-"/>

but this code should apply only for Desktop and Table device. But not for Mobile device.

Thanks very much

0

You can use different themes and "User-Agent Exceptions" functionality.

  • Isn't user agent the browser not necessarily the device? – camdixon Jul 21 '16 at 5:28

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.