WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Easy Fancybox is broken on my website (3 posts)

  1. tranite
    Member
    Posted 1 year ago #

    When I click an image to open it with the Lightbox, the image will be like 2000px from the top, so that I will have to scroll down to the bottom of the page. I have no idea why this has happened.

    I've also tried with the plugin Simple Lightbox, and I get the same error there. The support team that develops my theme said it is something with this plugin and not the theme. Can you halp me please?

    My website is http://vistnes.org

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    It is your theme... Looking at the home page source code I see it starts with this line:

    <link rel="shortcut icon" href="http://www.vistnes.org/favicon.ico" />
    
    <!DOCTYPE HTML><html lang="en-US">
    ...

    But it should ALWAYS start with the DOCTYPE declaration. You probably need to modify your themes header.php to remove the link tag and the empty line so that the DOCTYPE tag is the absolute first thing...

  3. tranite
    Member
    Posted 1 year ago #

    OK, thanks! I had put the code in the wrong place. I did not know that it made the error. Thanks! Now it works!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic