• Resolved gwozniak20

    (@gwozniak20)


    Using Elementor Builder, the Image, and then “link to media” to active the lightbox feature. When you click on an image, the lightbox works fine. But the X in the right hand corner does nothing to close. You can hit escape or outside the image on the page and it closes, but the “X” close button does nothing. I have disabled all plugins and could not find a conflict. Thanks for your help.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi

    If the issue persists after all third-party plugins are deactivated and the Hello Elementor theme is active, you can try to use custom CSS and add a z-index to the button ‘x’ in case some content is overlapping with the button. It would be helpful to take a closer look at the page in order to test this behavior further.

    Here is helpful article with additional information about the lightbox: https://elementor.com/help/lightbox.

    Thread Starter gwozniak20

    (@gwozniak20)

    Hi there, thank you. Yes I have tried all that and no help. I do not know how to add a Z index to the close button only? However, the three icon -elements (expand, share, and zoom) right next to the x button all work. They are all on the same line so I’m not sure if Z index would make a difference. When I activated the Hello theme, the X button was 3rd in the line instead of last, however, it still did not work and all the other buttons-icons did (again, zoom, share, expand).

    I did give you the link to the page, here it is again. Do you need access when you say “closer look” I could give you login via email.

    https://www.clndraft.webwerxconnect.com/recent-one-of-a-kind-collection/ (click on any image and try to use the x button)

    Let me know if you can help further.

    Hi

    Some third-party plugin (perhaps some addons for Elementor) may be causing the conflict, I was unable to replicate the issue on my end, but you can try using this CSS:

    .elementor-lightbox .dialog-close-button.dialog-lightbox-close-button {
    z-index: 99 !important;
    }

    CSS can be added under the Appearance > Customize > Additional CSS field.

    Thread Starter gwozniak20

    (@gwozniak20)

    Thank you! I have disabled all plugins, and I activated the Hello Theme, it is still not working. The code did not work. Let me know if you have any other ideas. Thanks again, I really appreciate your help.

    Hi

    I tested the code through the console, and it works. The ‘x’ button is clickable on the lightbox. Please, make sure that the code is added correctly, that there isn’t any invalid code inside the Additional CSS field (check if all blocks are closed) and also ensure that you clear all forms of cache, including your browser cache, your WP cache (your WP caching plugin if you have one), and your server cache. I hope this helps!

    Thread Starter gwozniak20

    (@gwozniak20)

    Hi there, I just wanted to follow through on this and let you know it was additional CSS I had, I had earlier added padding to the carousel and once I removed that CSS, the close button worked fine. Thank you for the tip.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘close “x” button not working’ is closed to new replies.