Page 1 of 1

Custom Templates only for Mobile View

Posted: Tue May 14, 2019 12:43 am
by Bishu

How can I make the Custom Templates only for Mobile View.

example :
When my user open the site on computer then it should open on the default design
but when my user open the site on mobile then it should use the Custom Templates


Re: Custom Templates only for Mobile View

Posted: Tue May 14, 2019 10:55 am
by arbei

That should be possible by using JavaScript, but why the default responsive page is not good in mobile mode? Are the 2 versions very different in your project?


Re: Custom Templates only for Mobile View

Posted: Thu May 16, 2019 9:37 pm
by mobhar

You should keep using Custom Templates; either for Desktop or Mobile view/mode. However, you may simply create your own CSS class to hide the element in the Desktop and/or show the element in the Mobile; or vice versa, and use it in you Custom Templates.

Google "bootstrap css hide on desktop", there are so many useful resources out there that you can use in your Custom Templates.