# Show page based on page width or device info?

**URL:** <https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661>\
**Category:** Need help\
**Created:** [February 15, 2024, 12:11pm UTC](https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661 "2024-02-15T12:11:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![carsten.bohling](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@carsten.bohling](https://forum.bubble.io/u/carsten.bohling)\
**Post date:** [February 15, 2024, 12:11pm UTC](https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661/1 "2024-02-15T12:11:03Z")

</div>

Hi,  
I am facing a challenge with my different page set up. I have one page for my desktop app and another one for my mobile. Although I checked “this page is a native app” it seems to have problems when opening with iPad cause it then shows the desktop page. For mobile devices it works fine.

Is there a better way to trigger the mobile page e.g. based on page width or device info?

Thanks for helping out.  
Carsten

---

<div class="post-metadata">

**Author:** ![artemzheg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/artemzheg/32/9651_2.png) [@artemzheg](https://forum.bubble.io/u/artemzheg)\
**Post date:** [February 15, 2024, 12:12pm UTC](https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661/2 "2024-02-15T12:12:05Z")

</div>

Why not to use bubble new responsive engine? Use responsive breakpoints and built for any screen size pretty easily

---

<div class="post-metadata">

**Author:** ![carsten.bohling](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@carsten.bohling](https://forum.bubble.io/u/carsten.bohling)\
**Post date:** [February 15, 2024, 12:17pm UTC](https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661/3 "2024-02-15T12:17:02Z")

</div>

The mobile version is design slightly different. Menues are different, there is a navbar etc. Back than I set it all up in a second page. Now I wrapped it for the appstore and run into that problem.

---

<div class="post-metadata">

**Author:** ![carsten.bohling](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@carsten.bohling](https://forum.bubble.io/u/carsten.bohling)\
**Post date:** [February 15, 2024, 1:09pm UTC](https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661/4 "2024-02-15T13:09:08Z")

</div>

So I now set up a condition “page is loaded and current page width \<= 1024” go to mobile page. that worked if the user is loggin in or registering. But it does not work nice when the user just opens the app and the page is loading again. Cause it initial want to load the index(desktop) page, shows it and then moves to mobile (because of the codition based on page load).

My dirty solution on this: hide content of the index page when page width is \<= 1024 so there is just the background during the time the app loads the mobile app. Any idea for a better process on this?  
Best  
Carsten

---

<div class="post-metadata">

**Author:** ![net-tt](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@net-tt](https://forum.bubble.io/u/net-tt)\
**Post date:** [February 15, 2024, 1:16pm UTC](https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661/5 "2024-02-15T13:16:31Z")

</div>

It seems like you are not doing the responsive conditions correctly. Don’t do the resizing in page load. Do that in the elements’ conditions.  
Check out this video.

[![](https://img.youtube.com/vi/3lUlmTZ_IQo/maxresdefault.jpg "How to Build a Responsive Navbar in Bubble | New Responsive Editor") ](https://www.youtube.com/watch?v=3lUlmTZ_IQo)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [April 25, 2024, 12:11pm UTC](https://forum.bubble.io/t/show-page-based-on-page-width-or-device-info/307661/7 "2024-04-25T12:11:52Z")

</div>

Closed on April 25, 2024, 12:11pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
