I have two themes, one for mobile and other for desktop. I have created 2 user agent rules for Mobile and iPad. All mobiles are showing mobile theme. But iPad and Tablets are also showing mobile theme. I need iPad and Tablets to show desktop theme. Can anyone please help me to fix this issue?
Magento – How to give user agent rule for iPad and Tablet in Magento 2.1
magento-2.1mobilerulestheme
Best Answer
This is because the
mobile
user agent includes the iPad. To workaround this you'll need to specify the mobiles individually.For example:
Mobile theme
Desktop theme
If that doesn't work try also removing
mobi
. That list is a few years old now so you may need to add some more if you find new devices aren't working as you'd expect.Some info taken from this M1 answer