Would it be possible to directly switch between mobile and desktop views, rather than toggling between them? I know it can be programmatically done but is there a simple option in discourse admin panel?
What is “switching between” if not “toggling”?
This is already done automatically.
I mean there’s an option of mobile and desktop view, right? In which we can manually toggle, but when I log in through a mobile device do I still see that option? If yes, can I remove it and simple do it something like when it’s on desktop it will remain in desktop mode only and similarly with mobile view.
Majorly if you could let me know if there’s a possibility to remove certain things like changing the theme and toggling between mobile and desktop.
As an admin? Use only one theme and don’t use either components.
Desktop/mobile view is a personal choice whilst also automated, not an admin setting.
You can create a URL to set it, like so example.com?mobile_view=0
so maybe you could use nginx to redirect everyone to that?
You could also hide the toggle with CSS.
I’m not sure why you would ever want to do this though?!
Just to keep minimalist, also thanks for the css thing I would work that way
Now I feel I should have used some common sense here
Thanks for the answer, it was indeed helpful.
don’t hide that button, people on tablets will be very annoyed.
Unfortunately tablet users usually see the forum like desktop and not mobile (and I don’t know why) so the toggle is mandatory for them.
I see, you changed my mind. Thank you!