# Mobile/Desktop View toggle

**URL:** https://meta.discourse.org/t/mobile-desktop-view-toggle/338949
**Category:** Support
**Created:** [November 28, 2024, 7:15am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949 "2024-11-28T07:15:10Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [November 28, 2024, 7:15am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/1 "2024-11-28T07:15:10Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 28, 2024, 7:37am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/2 "2024-11-28T07:37:44Z")

</div>

What is “switching between” if not “toggling”?

This is already done automatically.

---

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [November 28, 2024, 7:53am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/3 "2024-11-28T07:53:11Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [November 28, 2024, 8:12am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/4 "2024-11-28T08:12:10Z")

</div>

> [@MihirR](#):
>
> possibility to remove certain things

As an admin? Use only one theme and don’t use either components.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 28, 2024, 8:16am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/5 "2024-11-28T08:16:43Z")

</div>

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?!

---

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [November 28, 2024, 8:24am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/6 "2024-11-28T08:24:17Z")

</div>

Just to keep minimalist, also thanks for the css thing I would work that way 🙂

---

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [November 28, 2024, 8:25am UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/7 "2024-11-28T08:25:42Z")

</div>

Now I feel I should have used some common sense here ☹

Thanks for the answer, it was indeed helpful.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [November 28, 2024, 12:47pm UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/8 "2024-11-28T12:47:40Z")

</div>

don’t hide that button, people on tablets will be very annoyed.

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [November 28, 2024, 1:17pm UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/9 "2024-11-28T13:17:38Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [November 28, 2024, 2:09pm UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/10 "2024-11-28T14:09:38Z")

</div>

That’s why:

 ![A screenshot of a discussion forum showing a mobile view toggle with user comments and interactions. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/8/4/2/8424f14e742aae30a7136195b85aead13fc5cdbc.png)

Vs.

 ![This image shows a discussion on a forum about the necessity of a Mobile/Desktop View toggle for tablet users who prefer to access the forum in a desktop view. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/2/3/3/23389cea871f9dbc306fabc296ed676c71490d9e.png)

---

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [November 29, 2024, 1:36pm UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/11 "2024-11-29T13:36:09Z")

</div>

I see, you changed my mind. Thank you!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 29, 2024, 1:36pm UTC](https://meta.discourse.org/t/mobile-desktop-view-toggle/338949/12 "2024-12-29T13:36:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
