Overlay problem
-
Hi everyone,
I've posted this already and bug reports, but I hope someone here might have an idea how to help me, so I'm posting it again:
I'm currently working on the following website for a customer:
https://2026.preciflex.com/I have a problem with the Overlay function. In the menu, I have a contact button, which opens an overlay to a contact form. In my footer, I have another button to the same link, which should also open the overlay, but instead it opens the contact form regularly. It also doesn't work if I put a regular link on the main body of the side.
Additionally, I wanted to work on this page:
https://2026.preciflex.com/expertise-wip/Here I wanted to put grid of buttons, which should all open a different overlay, but I have here the same problem as before. For now I only created the overlay page for "Micromechnics". Does anyone of you know what I'm doing wrong or what I can do to make it work?
I hope someone has some helpful advice. All the best and have a beautiful rest of the week!
-
hello!

do you mean this button?
for me it does open the contact form in an overlay.if you create anchors in HTML yourself to open overlays.
you need to make sure they contain the correct data- attributes.for example. a link on lay theme to a internal page usually looks like this:
<a href="https://2026.preciflex.com/about-us/" data-id="708" data-type="page" data-title="ABOUT US"><span>ABOUT US</span></a>
it contains data-id and data-type
the code that check if a page should be open as an overlay only works when the data-id and data-type attributes are present
-
i think you did quite a great job with custom code on this website.
are you a programmer?would you be interested in me showing you a way to create custom lay theme elements? basically, its possible to create a wordpress plugin for lay theme.
and then using cmb2 and some filters, its possible to create custom lay elements:

for example for this one client site i created more than 20 custom elements
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
Our Web Development company: 100k.studio
Want to tip me? https://www.paypal.com/paypalme/arminunruh
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