Hi guys,
Is there any way to display the desktop version if the phone is in landscape orientation? Can it be done by code somehow?
Thanks,
J.D.
Hi guys,
Is there any way to display the desktop version if the phone is in landscape orientation? Can it be done by code somehow?
Thanks,
J.D.
Hi JD
Take a look at the wix-window API. It has a getBoundingRect() function that should help you out.
Thank you, Steve.
Indeed I could use this function to identify the cellphone orientation.
But how can I proceed from here?
Is it possible to enforce the desktop page version when I identify it’s in landscape orientation?
Is it possible to identify an orientation change after the page has been fully loaded?
Thanks again
J.D.
You probably need to try to use the phone desktop request feature. For example on an Apple iPhone you can request the desktop in Safari like this…
Hi Steve,
Yes, I am familiar with this option. I was wondering if it’s possible to automatically push the desktop version to the user.
So it’s probably not an option.
Thanks anyway,
J.D.
Hi JD
Yes I think it a browser control
Steve
Hey JD did you ever find a way to do this in Corvid?
No. It’s currently impossible afaik.
@jonatandor35 Is there a way to edit the CSS in some way?
@jasonlorico The CSS and HTML of a Wix page can’t be accessed or modified.