# How to Dynamically Dock Header Based on Device Type

**URL:** <https://forum.inductiveautomation.com/t/how-to-dynamically-dock-header-based-on-device-type/79737>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 27, 2023, 4:53pm UTC](https://forum.inductiveautomation.com/t/how-to-dynamically-dock-header-based-on-device-type/79737 "2023-09-27T16:53:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdia](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@mdia](https://forum.inductiveautomation.com/u/mdia)\
**Post date:** [September 27, 2023, 4:53pm UTC](https://forum.inductiveautomation.com/t/how-to-dynamically-dock-header-based-on-device-type/79737/1 "2023-09-27T16:53:44Z")

</div>

I am working on a project in where I would like the header of my application to be dynamic based on the device type. Specifically, I want the header to be docked at the top of the screen when the application is launched on a laptop or a TV. Conversely, I'd like the header to be docked at the bottom when launched on a mobile device. Can a dynamic page configuration be implemented based on the device type?

---

<div class="post-metadata">

**Author:** ![michael.edmonson](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@michael.edmonson](https://forum.inductiveautomation.com/u/michael.edmonson)\
**Post date:** [September 27, 2023, 7:55pm UTC](https://forum.inductiveautomation.com/t/how-to-dynamically-dock-header-based-on-device-type/79737/2 "2023-09-27T19:55:41Z")

</div>

should be doable with the device -\> type session property

---

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [September 28, 2023, 4:24am UTC](https://forum.inductiveautomation.com/t/how-to-dynamically-dock-header-based-on-device-type/79737/3 "2023-09-28T04:24:43Z")

</div>

This may not be reliable. My gut feeling (although I didn't test this) is that if you open Perspective on your phone browser, it's going to give a type `browser` instead of `ios` or `android` (I think those refer to the mobile app).
