I created separate theme for the mobile and the desktop.But in the Mobile string name it is causing an issue at admin in the directory Content->Configuration->Custom theme->edit->Add new user agent rule.

Now I decided to merge css of the mobile into the desktop css.For this I added breakpoints and media query inside the CSS of the desktop.

When I am trying to open the website in mobile view it is accessing the css of the Desktop layout. Can you please tell me how can apply my mobile theme using media sceen condition ?

  • Can anyone please tell how can i set mobile css on the basis of media query or breakpoints? – manoj kumar Mar 30 '20 at 17:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.