A condition if you're on a phone or a computer?

Hi everyone !

Is there a simple way to put a condition on :
- Visible if the user is on a computer
- Not visible if the user is on a phone

Thanks !

Hi @ceabiven ,

You can create conditional logic by referencing the “current page width” to show or hide elements. For example, “When the current page width is < 1000”, hide the desktop menu. The number is in terms of pixels.

There are also plugins that help you detect more precisely what kind of device the user is on if you don’t want to go off page width.

Hope this helps!

–
Cheers, Gaby
Co-Founder at Coaching No Code Apps
Free Bubble Masterclass
Private Help

1 Like

Hi @romanmg !

Thanks for your help ! I’ve found the plugin !

Have a nice day