# Console error, site.mobileView/site.desktopView function abnormal

**URL:** https://meta.discourse.org/t/site-mobileview-site-desktopview/393884
**Category:** Support
**Created:** [January 20, 2026, 1:29pm UTC](https://meta.discourse.org/t/site-mobileview-site-desktopview/393884 "2026-01-20T13:29:02Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [January 20, 2026, 3:20pm UTC](https://meta.discourse.org/t/site-mobileview-site-desktopview/393884/3 "2026-01-20T15:20:38Z")

</div>

Also, if you are developing something (unclear since the lack of information of your topic) take a look at our new mobile/desktop breakpoint system:

> [@Designing for Different Devices (Viewport Size, Touch/Hover, etc.)](https://meta.discourse.org/t/designing-for-different-devices-viewport-size-touch-hover-etc/367810):
>
> This document outlines the APIs used to adapt Discourse’s user interface for different devices. Viewport Size The most important characteristic to consider is the viewport size. We design “mobile first” and then add customizations for larger devices as needed. The breakpoints we use are: Breakpoint Size Pixels (at 16px body font size) sm 40rem 640px md 48rem 768px lg 64rem 1024px xl 80rem 1280px 2xl 96rem 1536px To use these in an SCSS file, add @use "lib/viewport"; at the t…

the `site.mobileView` is no longer used.

---

_[View the full topic](https://meta.discourse.org/t/site-mobileview-site-desktopview/393884)._
