# Showing Object depending of device in Glide Pages

**URL:** https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460
**Category:** Ask for Help
**Created:** [February 25, 2023, 1:04pm UTC](https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460 "2023-02-25T13:04:02Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Killko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/killko/32/39538_2.png) [@Killko](https://community.glideapps.com/u/Killko)
#### Post date: [February 25, 2023, 1:04pm UTC](https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460/1 "2023-02-25T13:04:02Z")

</div>

Is there a way to trigger the visibility of an object depending on the device, in Glide Pages.  
For example, I would like hide titles in Mobile view to use less space.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 25, 2023, 1:09pm UTC](https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460/2 "2023-02-25T13:09:44Z")

</div>

You can use JavaScript to detect the UserAgent, and act accordingly.

```auto
return navigator.userAgent;

```

 ![CleanShot 2023-02-25 at 21.06.36@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/e/fe3f29fa6587723e0484583a5cb6b40906ec7c52.png)

---

<div class="post-metadata">

### Author: ![Killko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/killko/32/39538_2.png) [@Killko](https://community.glideapps.com/u/Killko)
#### Post date: [February 25, 2023, 4:30pm UTC](https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460/3 "2023-02-25T16:30:18Z")

</div>

Thanks Darren !

---

<div class="post-metadata">

### Author: ![Killko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/killko/32/39538_2.png) [@Killko](https://community.glideapps.com/u/Killko)
#### Post date: [February 25, 2023, 4:32pm UTC](https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460/4 "2023-02-25T16:32:39Z")

</div>

Still, as Pages is set to become the std, it would be nice to have a view type check…

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 25, 2023, 4:44pm UTC](https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460/5 "2023-02-25T16:44:59Z")

</div>

Do you mean natively, without having to resort to JavaScript?

yeah, I agree…

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [February 26, 2023, 4:45pm UTC](https://community.glideapps.com/t/showing-object-depending-of-device-in-glide-pages/58460/6 "2023-02-26T16:45:21Z")

</div>

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