The pop-up works perfectly on desktop and tablet. However, the modal doesn’t appear at all on the portrait version of mobile, which I click on the button “Why Book Direct” And on the mobile landscape version, the the pop-up is cut off (this is hard to explain, you’d have to visit the website’s webflow.io link on your mobile).
With the Modal Background still selected, go to Mobile Portrait view, and remove the position override so that the styles are inherited (in orange color):
Thanks again for your super helpful response! I did the steps you mentioned.
The mobile portrait version works fine now.
However, the mobile landscape version is still being cut off. Basically, the problem is that I can’t scroll to see the rest of the pop-up window. When I try to scroll, only the website in the background scrolls down - but the modal pop-up stays static. Is there a way to be able to scroll down so users can read the entire pop-up content?
Hi @Clarinta ! Thanks for the followup, I see what you are talking about. Some additional code and style changes are needed, hopefully the steps below will help:
Replace the code that opens the modal with the code below:
The change to the code is the extra lines to set the body from overflow visible to overflow hidden when the button is clicked.
Now a few extra changes and checkings on the Modal Background and Modal Window classes.