- This topic has 1 reply, 2 voices, and was last updated 6 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Disable WP Lightbox Ultimate on mobiles and devices only
Hi,
I just bought LightboxUltimate.
Is there a way where I can have Lightbox be disabled on mobiles and tablets? It doesn’t render nicely on these devices, and I prefer to have have it rendered natively on these devices.
Thanks.
Kind regards,
Jean-Pierre
Many themes can detect if a mobile device is accessing the site; and display a “different” page or theme style. If your theme does this; you can either force it to display only the desktop styling or pages, or “do something else.”
Alternatively; if you are comfortable with PHP coding, you could selectively use the wp_is_mobile() function to force particular behaviors: