# Different landing page for desktop vs mobile theme?

**URL:** https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019
**Category:** Feature
**Created:** [18 يونيو 2016، 11:42م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019 "2016-06-18T23:42:45Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![smartwatchme](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smartwatchme/32/41275_2.png) [@smartwatchme](https://meta.discourse.org/u/smartwatchme)
#### Post date: [18 يونيو 2016، 11:42م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/1 "2016-06-18T23:42:45Z")

</div>

Is it possible to somehow set a different landing page based on desktop vs mobile? i.e when you’re on mobile you land on /categories while desktop would land on /latest.

---

<div class="post-metadata">

### Author: ![jesselperry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesselperry/32/119501_2.png) [@jesselperry](https://meta.discourse.org/u/jesselperry)
#### Post date: [12 سبتمبر 2016، 9:40م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/2 "2016-09-12T21:40:24Z")

</div>

Just about to start a new topic on this — and saw this was discussed (although it probably should be categorized as "Feature).

I would second this — but with a slightly different use case. The new categories view (in current Discourse betas and here on Meta) would be perfect to display by default on desktops. But the new Categories layout I like doesn’t display on mobile, so I would still want Latest to be default on mobile.

Would love to know if the team thinks this would be a helpful feature. Great work on the new Categories layout!

---

<div class="post-metadata">

### Author: ![planted](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@planted](https://meta.discourse.org/u/planted)
#### Post date: [21 مارس 2017، 5:30ص UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/3 "2017-03-21T05:30:46Z")

</div>

I would love this also, latest makes sense on mobile. A setting for this or some advice on how to make this happen would be great.

---

<div class="post-metadata">

### Author: ![Lutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lutz/32/65103_2.png) [@Lutz](https://meta.discourse.org/u/Lutz)
#### Post date: [21 مارس 2017، 8:36ص UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/4 "2017-03-21T08:36:10Z")

</div>

See here for an ugly but working way to do it:  
[How to default to latest on mobile and categories+latest on desktop?](https://meta.discourse.org/t/how-to-default-to-latest-on-mobile-and-categories-latest-on-desktop/55716/4)

And here:  
[Set the top menu in the mobile view independently of the desktop view](https://meta.discourse.org/t/set-the-top-menu-in-the-mobile-view-independently-of-the-desktop-view/59237) (with the admin setting “top menu” you also set the landing page.)

---

<div class="post-metadata">

### Author: ![planted](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@planted](https://meta.discourse.org/u/planted)
#### Post date: [21 مارس 2017، 7:21م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/5 "2017-03-21T19:21:32Z")

</div>

Thanks @Lutz I’ll check those posts out.

---

<div class="post-metadata">

### Author: ![Ellibereth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ellibereth/32/202896_2.png) [@Ellibereth](https://meta.discourse.org/u/Ellibereth)
#### Post date: [7 يونيو 2018، 8:45ص UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/7 "2018-06-07T08:45:56Z")

</div>

If there are technical reasons giving user’s the option to choose what the default mobile home page is independent of desktop is hard, is it possible/easier for mobile to always default to x when desktop is in category + x mode?

I think this would be preferential to more users over defaulting to category mode.

---

<div class="post-metadata">

### Author: ![JoeZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joez/32/65938_2.png) [@JoeZ](https://meta.discourse.org/u/JoeZ)
#### Post date: [10 يونيو 2018، 1:00ص UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/8 "2018-06-10T01:00:45Z")

</div>

I’d just like to bump this. I think it is important to have the ability to change the views depending on mobile or desktop.

---

<div class="post-metadata">

### Author: ![Rene\_Hagspiel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rene_hagspiel/32/98636_2.png) [@Rene\_Hagspiel](https://meta.discourse.org/u/Rene_Hagspiel)
#### Post date: [10 يونيو 2018، 8:31ص UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/9 "2018-06-10T08:31:35Z")

</div>

Also for me, I waiting for this.

---

<div class="post-metadata">

### Author: ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### Post date: [18 يونيو 2018، 1:58م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/10 "2018-06-18T13:58:16Z")

</div>

Same, we use Category and latest for “Desktop” view but mobile users whose use case is “8 minutes whilst in the back of a cab” want “Latest” view.

“Latest” view with our posts set as overarching default encourages short shotgun comments to keep “bumping” threads up and less busy but not less important threads are just vanished immediately in the scrum.

The category view on mobile or lack of “latest” setting as a default option is hurting the usability of the site for us.

---

<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: [18 يونيو 2018، 2:00م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/11 "2018-06-18T14:00:42Z")

</div>

Given that there is already distinction made in Theming between Desktop & Mobile, this would seem a completely reasonable request?

---

<div class="post-metadata">

### Author: ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### Post date: [18 يونيو 2018، 2:07م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/12 "2018-06-18T14:07:27Z")

</div>

Hopefully so, at 1000 members we’re at that funny point now where latest view is turning into a freeway for the 120 core users which newbies will struggle to engage with and at the same time we have “senior” members of the community who didn’t realize that certain categories even existed. (Hence we now moved to category, latest).

Doing a better job of communicating to your own people what it is that you’re doing is of course our own job bbbbbuuuuut - and I hate it when people say this to us- _surely this functionality isn’t that hard_ to implement?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [18 يونيو 2018، 3:22م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/13 "2018-06-18T15:22:26Z")

</div>

I use the following script on a site I run:

```plaintext
<!DOCTYPE html>
<!-- Make logo link to /latest -->
<script type="text/discourse-plugin" version="0.4">
  api.changeWidgetSetting('home-logo', 'href', '/latest')
</script>

```

It makes clicking the logo go to the latest page instead of categories. I find it’s a decent workaround as it’s how users tend to navigate (click the logo to go home). Thus other than the initial load users end up on latest not categories. Add it to your theme in Mobile `</head>`

---

<div class="post-metadata">

### Author: ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### Post date: [18 يونيو 2018، 3:23م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/14 "2018-06-18T15:23:27Z")

</div>

Thanks holmes appreciated.

---

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [29 يونيو 2018، 8:14م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/15 "2018-06-29T20:14:12Z")

</div>

I would love to see this as well.

---

<div class="post-metadata">

### Author: ![Amethi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amethi/32/88690_2.png) [@Amethi](https://meta.discourse.org/u/Amethi)
#### Post date: [31 يوليو 2018، 7:08م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/16 "2018-07-31T19:08:02Z")

</div>

Another vote here. I feel quite strongly that the Category view works best for desktop and Latest best for mobile. Please Discourse team, could we have this?

---

<div class="post-metadata">

### Author: ![maia\_internet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maia_internet/32/122258_2.png) [@maia\_internet](https://meta.discourse.org/u/maia_internet)
#### Post date: [26 أغسطس 2018، 12:07م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/17 "2018-08-26T12:07:30Z")

</div>

And for my sites too please - We’ve reached a point in the number of users that new members are posting in the wrong place because the categories aren’t that obvious in Latest view.

The Categories view just doesn’t “work” on mobile!

So could we please have the option of having different views depending on device type.

Thanks guys, I so love this software!

Cheers

---

<div class="post-metadata">

### Author: ![\_vincent](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/_vincent/32/119557_2.png) [@\_vincent](https://meta.discourse.org/u/_vincent)
#### Post date: [26 أغسطس 2018، 1:17م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/18 "2018-08-26T13:17:54Z")

</div>

Still bumping this feature request. Comparison shots between Categories and Latest, on mobile:

 ![18-08-26%2015-16-04%201132](https://global.discourse-cdn.com/meta/original/3X/1/4/141154cba82ae83eeb090881a8ff3c0d411a96af.png) ![18-08-26%2015-16-12%201133](https://global.discourse-cdn.com/meta/original/3X/2/b/2b8cb77a9b8e7981e5139620f8b5bebafab8174c.png)

Quite the “extreme” use case since our forum is about sharing music and we use Topic List Previews, plus my screen is amongst the smallest (iPhone SE).

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [27 أغسطس 2018، 2:09ص UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/19 "2018-08-27T02:09:36Z")

</div>

@Amethi, @maia_internet, @_vincent، وآخرون. إليكم مكونًا بسيطًا جدًا للقالب قد يغنيكم. قد لا يكون مثاليًا مثل ميزة مدمجة تُضاف إلى النواة، لكنه سيقوم بما يطلبه معظمكم.

> **[GitHub - tshenry/discourse-force-mobile-homepage](https://github.com/tshenry/discourse-force-mobile-homepage)**
>
> Contribute to tshenry/discourse-force-mobile-homepage development by creating an account on GitHub.

كنت آمل في إيجاد طريقة لاحترام اختيار المستخدم عند استخدام الهاتف المحمول إذا تم تحديده صراحة. ربما أتمكن من التعامل مع ذلك إلى حد ما بمجرد ظهور إعدادات القالب من جانب المستخدم، ولكن في الوقت الحالي، ستُجبرون الصفحة الرئيسية لتكون “الأحدث” (أو أي خيار آخر تغيرونه) لجميع مستخدميك أثناء تصفحهم من الهاتف المحمول. أما سطح المكتب فسيظل يحترم إعداد موقعك الافتراضي أو ما يختاره مستخدموك كصفحة رئيسية.

سأكتب منشورًا رسميًا في قسم #Customization > Theme لاحقًا. لقد نفد وقتّي الآن. آمل أن يكون هذا مفيدًا!

---

<div class="post-metadata">

### Author: ![Amethi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amethi/32/88690_2.png) [@Amethi](https://meta.discourse.org/u/Amethi)
#### Post date: [27 أغسطس 2018، 4:21م UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/20 "2018-08-27T16:21:06Z")

</div>

Seems to work really well @tshenry. Thanks!

---

<div class="post-metadata">

### Author: ![maia\_internet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maia_internet/32/122258_2.png) [@maia\_internet](https://meta.discourse.org/u/maia_internet)
#### Post date: [28 أغسطس 2018، 10:56ص UTC](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019/21 "2018-08-28T10:56:37Z")

</div>

I might be going daft here, but how do I include your theme component into my existing theme?

Cheers

[Next page](https://meta.discourse.org/t/different-landing-page-for-desktop-vs-mobile-theme/46019.md?page=2)
