# Force Mobile Homepage

**URL:** https://meta.discourse.org/t/force-mobile-homepage/95705
**Category:** Theme component
**Created:** [August 27, 2018, 7:03am UTC](https://meta.discourse.org/t/force-mobile-homepage/95705 "2018-08-27T07:03:04Z")
**Posts on this page:** 1
**Showing post:** 1

<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: [August 27, 2018, 7:03am UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/1 "2018-08-27T07:03:04Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Force a different homepage for users visiting the site from a small viewport (e.g. mobile) |
| 👓 | **Preview** | [Theme Creator](https://discourse.theme-creator.io/theme/tshenry/force-mobile-homepage) |
| 🛠 | **Repository** | [GitHub - tshenry/discourse-force-mobile-homepage · GitHub](https://github.com/tshenry/discourse-force-mobile-homepage) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

Currently the default homepage settings found in the admin panel and user preferences apply to both desktop and mobile. This is a very simple theme component that will allow you to specify a different default homepage for the small viewport version of your Discourse forum.

It is important to note that this will **force** anyone using a small viewport to navigate to the homepage you choose with this theme component. Your users will not be able to override the default homepage for the small viewport context via their user preferences at this point.

## Theme Settings

There is one setting that will allow you to set the alternative homepage to one of the following:

- latest _(default)_
- new
- top
- categories
- hot

## Potential future work ideas

- Allow users to override the default set via this component.

---

_[View the full topic](https://meta.discourse.org/t/force-mobile-homepage/95705)._
