project overlay to cover menu
-
wrote on Jan 6, 2025, 9:39 AM last edited by
I'd like a project overlay to cover (hide) the site title and menu, so there is only the closing "X" visible when viewing a project overlay. Is that possible? Thanks!
-
Global Moderatorwrote on Jan 6, 2025, 5:04 PM last edited by arminunruh Feb 21, 2025, 9:04 AM
.lay-project-overlay{ z-index: 20!important; }
Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"
try this!
NOTE:
this is the correct css not the one above#lay-project-overlay{ z-index: 20!important; }
-
wrote on Feb 21, 2025, 5:24 AM last edited by
Hi @arminunruh, I'm trying to achieve this as well.
The above doesn't seem to work, no matter what i put for the z-index of the .laynav elements and the .lay-project-overlay elements, the nav is always visible above the overlay...What could i be missing?
-
#lay-project-overlay{ z-index: 20!important; }
i made a mistake, this should be the correct css!
-
wrote about 10 hours ago last edited by
Hi @arminunruh, thanks, it works on desktop but not on mobile, could you please help me?
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
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