Streaming live at 10am (PST)

Lock Tablet orientation in portrait mode


#1

Hi,

I am building a site for a client and everything seems fine but I would like to lock the tablet orientation in portrait mode .
My design for tablet in portrait mode is fine (see picture)

but breaks in landscape mode (see picture)

I would like to make the user only able to see the portrait (tablet) version and not the landscape.
I have seen it might be possible with media queries and the orientation property but I am not able to find the right solution....!

Could someone help me with this?

Thanks in advance.


Here is my public share link: https://preview.webflow.com/preview/dpv-fixed?preview=46c4740397e7ed8cf362c2302069d48d
(how to access public share link)


#2

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.