WordPress.org

Forums

Easy FancyBox
[resolved] Height/Width 0px in easy-fancybox.css.php?ver=1.3.4 (2 posts)

  1. sBowers
    Member
    Posted 3 years ago #

    The gallery images are successfully being populated to the fancybox however the #fancybox-content is showing height and width of 0px via "easy-fancybox.css.php?ver=1.3.4"

    I am assuming the script changes these setting to the file size when working correctly?

    Is this a correction I can make somewhere?

    http://sawyerbowers.com/

  2. RavanH
    Member
    Plugin Author

    Posted 3 years ago #

    Looking at your sites source, I notice you are using FancyBox together with both Shadowbox (loaded by the Cool Video Gallery plugin) and prettyPhoto (loaded by your theme) but amazingly, that is not even the main cause of the issue you are seeing.

    The biggest problem is the fact that your theme loads it's own jQuery library instead of using the one included in WordPress and registering it via the official wp_enqueue_script() method... Bad theme! ;)

    I suspect you need to edit the themes header.php and remove the line with something like <script src="<?php some php here ?>/js/jquery-1.4.2.min.js" type="text/javascript"></script> right after <?php wp_header(); ?>...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic