WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Atomwhale
    Member
    Posted 1 year ago #

    Hi,

    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.

    Thanks.

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

  2. RavanH
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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:
        base._start();
    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:
        base._build();
    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:
        base.init();
    called from line 525, column 2 in <anonymous function>($) in http://www.selvaggiomoda.com/site/wp-content/themes/wowway/js/scripts.js:
        $.supersized({
    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

Tags

No tags yet.