Modal no opens on click

In my header there is an icon (the hamburger) that opens a modal on click.
Everything ran well until 1.2.4
Now, after refreshing the page there are 2 behaviors:

  • or the click doesn’t open the modal
  • or the click can open the modal only once

The settings of the modal:

2022-10-25_204304

Here is the website: https://smatchcard.com

Environment info

  • WordPress version: 6.0.3
  • Gutenberg Plugin version: N/A
  • Cwicly Plugin version: 1.2.4
  • Cwicly Theme version: 1.0.3

Removing these settings should fix it.

Hi @Marius
I remove “On click” and now, nothing happens clicking on hamburger.
The cursor change from arrow to finger, but the modal is not displayed on click.

2022-10-25_204304

I can’t remember what my settings were before 1.2.4, but it was working fine.

Your modal seems not be linked correctly.
Make sure to use the ID of your modal you target with your hamburger icon link.

image

3 Likes

Thank you @Marius
I can’t figure out when I changed this value and never checked it. I feel dumb!
You’re the best!

Everything runs super well.
Thank you again @Marius

Glad I could help @weedor.
I also checked your site and can confirm your modal is working as intended now :+1:

2 Likes