Our great sponsors
-
Mobile-Detect
Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You can use PHP projects like https://github.com/serbanghita/Mobile-Detect to make checks on your server but it will generate false positives in some cases. I've implemented that in custom widgets to deliver different content. Until know no complaints :-) But it is not implemented in Elementor by default so you'll need PHP knowledge to create a custom widget. Then you can output different posts for different devices. If you can't do that: you have to use the switches
Related posts
- How to show a column only on mobile?
- Detect if it is an iOS device
- How enable Google AdSense Auto Ads for desktop (web) only
- What's the best way to NOT load a chunk of code on mobile devices? I don't just want to hide it with CSS, I want this bit to not load at all on mobile devices.
- Internal system analytics recommendation with basic information only