Easy FancyBox
Overlay wrap div aligned to the left by default (5 posts)

  1. Atomwhale
    Posted 2 years ago #


    I am having trouble getting the youtube overlay to align to the center. Would you be able to take a look and tell me what could be conflicting with the css.

    the link is www . selvaggiomoda . com / site

    and the overlay pops in when you click on any images on the slideshow.



  2. RavanH
    Plugin Author

    Posted 2 years ago #

    Wow, that's a tough one...

    Apparently, the FancyBox script cannot properly determine the height and width of the window. Maybe because of the positioning rules applied to the body or the content div. But I suppose messing with those will mess up the full screen backgrounds...

  3. Atomwhale
    Posted 2 years ago #

    I'm kinda stuck here. Any kind of hack or work around is appreciated. could email you the login details as well if needed.

  4. RavanH
    Plugin Author

    Posted 2 years ago #

    I'm afraid I cannot help you. As soon as I try any browser dev/debugging tools, the frame jumps back to the centre again. Also when resizing the browser window... A weird effect.

  5. RavanH
    Plugin Author

    Posted 2 years ago #

    I do see a script error thrown:

    Uncaught exception: TypeError: Cannot convert 'base.options.slides[vars.current_slide]' to object
    Error thrown at line 10189, column 3 in <anonymous function: base.getField>(field) in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/plugins.dev.js:
        return base.options.slides[vars.current_slide][field];
    called from line 8785, column 3 in <anonymous function: base._start>() in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/plugins.dev.js:
        imageLink = (api.getField('url')) ? "href='" + api.getField('url') + "'" : "";
    called from line 8669, column 12 in <anonymous function: base._build>() in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/plugins.dev.js:
    called from line 8531, column 12 in <anonymous function: base.init>() in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/plugins.dev.js:
    called from line 10197, column 8 in <anonymous function: $.supersized>(options) in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/plugins.dev.js:
    called from line 525, column 2 in <anonymous function>($) in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/scripts.js:
    called from line 3, column 0 in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/scripts.js:
        (function($) {

    It might be related but I guess it would take a complete rebuild of the theme to even find out why it is happening, if it is related and how to prevent it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.