• Resolved lukasverlag

    (@lukasverlag)


    Hi!

    I’m quite new in regards to web design, so maybe it’s just a beginner’s mistake. But I spent a full day trying to figure out what’s wrong.

    I built a small promotional website http://www.gaerten-und-parke.de and wanted a .pdf to be opened in a lightbox. All worked fine until tuesday, when we decided to go live and I changed the URL in the backend. Then suddenly all lightboxes stopped working.

    I’m not sure if it was caused by changing the URL or if any other plugin caused a conflict. What I do know is that both affected plugins rely on jQuery. But neiter manually restoring the original jQuery from the WordPress-Installer, nor deleting all plugins I don’t really need or deleting and re-installing the affected plugins helped.

    Any ideas?

    P.S.: I’ll crosspost this in the forum of the second affected plugin. Hope it’s okay.

    https://wordpress.org/plugins/easy-fancybox/

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a blocking error:

    Uncaught TypeError: Cannot read property 'left' of undefined

    coming from the theme script jquery.theme-main.min.js (line 25)

    I have the impression this error occurs because the script is not prepared for when there is NO logo image and NO site title in the header. Try adding either one of those. If you do not want title and have no logo, try a 1×1 pixel transparent png. Create one easily with http://www.1x1px.me/ for example.

    That might get rid of the theme error and FancyBox should start working then too. If it does, you might want to report it as a bug with the theme developers 🙂

    Thread Starter lukasverlag

    (@lukasverlag)

    Thanks for your help – works perfektly!

    I will inform the theme developer – maybe they add the option of using neiter.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Suddenly broken – pdf display’ is closed to new replies.