turn off overlay in mobile view
-
ah i understand! mmh let me check
-
hey so when you press a link inside the page overlay, usually the page overlay closes itself. both on desktop and on mobile:
https://capture.dropbox.com/2wG6guRIZqhheHzJ
for you taht doesnt work? do u have a link to your website?
-
Oh, actually I've already disabled the overlay because the user has added more content and it started to overflow... so I will add another question - is it possible to enable vertical scroll of the page on overlays?
Here is the website (I've enabled the overlay again for the Info page):
https://tamirhayun.com/
On mobile, when clicking on the "close" button, it closes the overlay but leaves the menu open. My desired result is that the menu will be closed and the page that lies under the overlay will be shown. -
inside an overlay you should be able to scroll up and down if there is more content.
make sure if your overlay is only one row, its not a browser height rowok i see you have a info overlay
but it doesnt contain a link.
and thats what the problem was: you have a link in an overlay, if it is clicked the overlay should close, but it didnt.was it an external link?
i think it just closes if its an internal linkah ure talking about the close button now.
ok the close button is just a close button for closing the overlay.
not for closing the mobile menu, those are 2 different things -
you can do this:
<script> jQuery(document).on("click", ".overlay-close", function(event) { window.mobile_menu_controller.hideMobileMenu() }); </script>
Enter this css in "lay options" -> "custom css & html" -> "custom head content"
-
this should also close your mobile menu when you close your page overlay
-
im glad it works!!
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it