# Mobile page layout not using theme

**URL:** https://meta.discourse.org/t/mobile-page-layout-not-using-theme/358115
**Category:** Support
**Tags:** mobile
**Created:** [March 20, 2025, 9:31am UTC](https://meta.discourse.org/t/mobile-page-layout-not-using-theme/358115 "2025-03-20T09:31:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![alex\_VIDAL](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_vidal/32/490583_2.png) [@alex\_VIDAL](https://meta.discourse.org/u/alex_VIDAL)
#### Post date: [March 20, 2025, 9:31am UTC](https://meta.discourse.org/t/mobile-page-layout-not-using-theme/358115/1 "2025-03-20T09:31:48Z")

</div>

Hello,  
I have create a custom theme and it works fine on desktop, however it seems that on mobile some of the overrides (using PluginOutlet ) are not being applied on mobile (safari). for exemple on desktop my category page looks like this :

 ![desktop](https://global.discourse-cdn.com/meta/original/4X/1/c/d/1cd6da2b105c8021ba80e5183c252975fb87d6fd.jpeg)

both desktop and mobile are set to :

 ![SC_Navigation - Admin - Money Game_20250320-001156](https://global.discourse-cdn.com/meta/original/4X/6/7/1/67164a0da5054e19b2c39e7131904959ddb1582d.jpeg)

Any idea what im doing wrong?

Thank you

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [March 20, 2025, 9:46am UTC](https://meta.discourse.org/t/mobile-page-layout-not-using-theme/358115/3 "2025-03-20T09:46:10Z")

</div>

Even if you set the same layout for desktop and mobile in your admin settings, the templates used are probably not the same. You’d have to inspect both templates and adjust your declarations accordingly.

---

<div class="post-metadata">

### Author: ![alex\_VIDAL](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_vidal/32/490583_2.png) [@alex\_VIDAL](https://meta.discourse.org/u/alex_VIDAL)
#### Post date: [March 20, 2025, 10:12am UTC](https://meta.discourse.org/t/mobile-page-layout-not-using-theme/358115/4 "2025-03-20T10:12:33Z")

</div>

Ah yes i see the pluginOutlet is different.  
however it stil seems like the CSS are not loading from the theme.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [March 20, 2025, 1:53pm UTC](https://meta.discourse.org/t/mobile-page-layout-not-using-theme/358115/5 "2025-03-20T13:53:22Z")

</div>

> [@alex\_VIDAL](#):
>
> however it stil seems like the CSS are not loading from the theme.

The templates have some differences that may require different CSS for desktop vs mobile, so you’ll have to inspect the page and add different CSS for mobile (you can get mobile view on a desktop device by adding `?mobile_view=1` to the end of the URL)

If you’re removing the borders on desktop for example, you can do:

```css
.category-list tbody .category {
  border: none;
}

```

but on mobile you’d have to do:

```css
.category-list-item {
  border: none;
}

```

At some point I think we’ll make these templates consistent across all devices, but this is what is needed for the current state of things.
