Is it possible to use blank or luma theme for mobile and custom theme for desktop in magento2.

1 Answer 1


You can achieve this by design configuration from magento 2 admin.

Go to STORES > Configuration > General > Design -> User-Agent Exceptions

Search String -> Search strings are either normal strings or regular exceptions (PCRE).

For example : iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini

Design Theme : Select the theme you want to load.

You can also use screen resolution regular expressions for loading theme based on resolutions.

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.