Lighbox on image open in new page and not on lighbox - Forum | JoomShaper
Awaiting an answer SP Page Builder

Lighbox on image open in new page and not on lighbox

Asked by turha71 4 years ago Last activity 4 years ago

Hi,

When I try to open an image on lighbox it opens in a new window and not in light box. When I go to console I see this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'top')
    at HTMLDocument.<anonymous> (main.js:95:49)
    at u (jquery.min.js?399941daa32d073f9607466196f6a213:2:27579)
    at Object.fireWith [as resolveWith] (jquery.min.js?399941daa32d073f9607466196f6a213:2:28337)
    at Function.ready (jquery.min.js?399941daa32d073f9607466196f6a213:2:30124)
    at HTMLDocument._ (jquery.min.js?399941daa32d073f9607466196f6a213:2:27307)

The line 95 on main.js is this one:

var stickyNavTop = fixedSection.offset().top;

What is causing this and how to solve it?

Thanks

2 replies

Rashida Rahman Staff

Hi there!

Sorry for the inconvenience.

Is there any third party extension you are using, please? More likely cookie plugin?
If yes, please disable the cookie plugin/extension then clear you Joomla and browser cache and check again.

Kindly, do let me know if it helps!

Best Regards

turha71 Asked this

Hi,

I don't have such a extension. I'm sending administrator login for you to check.

Thanks

Log in to reply.