Tagged: cookies, Modal window
-
AuthorPosts
-
January 23, 2023 at 9:29 am #1394746
Hi everyone,
I’ve implemented the modal popup window for cookies, and it looks fine on the desktop version, but on the mobile version it’s not possible to scroll down through the text, so a user can’t get to the buttons to toggle them on or off.
Is there any way to fix this?Thanks!
Chris
January 24, 2023 at 3:46 am #1394859Hi!
Thank you for opening another thread.
We checked the site on a browser emulation and the modal popup window seems to be scrollable, but the position of the modal is a bit off. To adjust the position, we can use this css code.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .mfp-wrap.mfp-gallery.mfp-close-btn-in.mfp-auto-cursor.avia-popup.mfp-zoom-in.mfp-ready { top: 0 !important; } }
Regards,
IsmaelJanuary 24, 2023 at 2:20 pm #1394924Hi Ismael,
Thanks for the response! I pasted in the code, and there is some improvement, but unfortunately the problem is still largely persisting. Basically, after rotating the phone sideways and then back to vertical mode, some scrolling was then possible, but it wasn’t long before the scrolling froze again. So with this new code it sometimes scrolls, sometimes doesn’t, and it generally still buggy.
I’m using an iPhone SE (2020).
On the iPad it works fine, because thankfully due to the larger screen size there is no need for scrolling (all the info appears in the modal window).You said the code basically just positioned the modal window at the top.
So: is there some code to make the modal window scrollable?Best,
Chris
January 25, 2023 at 4:09 am #1395032Hi,
Thank you for the info.
So: is there some code to make the modal window scrollable?
The modal popup window should be scrollable by default but there might be another element or script that is causing the issue. Is it working correctly when the plugins are deactivated? Please provide a short clip of the scrolling issue so that we can better understand the problem.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.