• Resolved Lockhart

    (@muldari)


    Trying to use the popup with a button image. Works great when I use hover, but of course hover won’t work with mobile devices. When I set it to click, I get this error: Could not load the item. Make sure the path is correct and item exist.
    The popup is built in html. When the error appears, if I click “ok” then the popup shows up just fine. What am I missing on the setup?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dear @muldari,

    It looks like this issue is actually caused by the WP Lightbox Bank plugin. That plugin is adding a ‘listener’ to the image caption that triggers the lightbox when clicked.
    Please, do the following to escape this problem:

    Add the following to your shortcodes where you have added an onclick popup on the images:
    wrap=”div”

    It should look something like this: [sg_popup id=”1″ event=”click” wrap=”div”][/sg_popup]

    This should solve your issue.
    Please, let us know if you have any further questions! ??

    Thread Starter Lockhart

    (@muldari)

    That worked great, thank you!. One other thing: Is there a way to have the hand cursor show so it’s more clearly a link?

    Dear @muldari,

    Please, add the following style in your theme styles and you’ll get the cursor needed:

    .sg-show-popup {
    cursor: pointer;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Onclick Error’ is closed to new replies.