Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter cayogeneral

    (@cayogeneral)

    I can change the size of the lightbox but no matter what I do, I can’t change the size of the vimeo or youtube video size. It stays very small. Again, on Thickbox, I can resize the video and the window with no problems

    Plugin Author Stian Andreassen

    (@stiand)

    Hi,

    On my test site, Shadowbox JS works perfectly, and I have not been able to duplicate the bug you refer to. Could there be other plugins conflicting with Shadowbox JS? Does your theme have wp_head() in header.php and wp_footer() in footer.php?

    If you have a link to your gallery, I’d be happy to take l look.

    Thread Starter cayogeneral

    (@cayogeneral)

    https://s86.photobucket.com/user/cayogeneral/media/ScreenShot2013-06-19at32118PM.png.html

    Here’s a picture of my error – I’m using thickbox now just so the website is functional – https://www.deliciousvfx.com/projects

    I’ll double check on header and footer. I thought at first that thickbox was conflicting with shadowbox but I already tried disabling it.

    Thanks for your reply!

    Thread Starter cayogeneral

    (@cayogeneral)

    This is in my footer – <?php wp_footer()?> and my header has <?php wp_head()?>

    I’m in a modified twenty eleven theme. The only plugins activated are google analytics dashboard for wp, insert headers and footers, thickbox, shadowbox and youtube simple gallrery

    Plugin Author Stian Andreassen

    (@stiand)

    Could you very quickly switch themes to default Twenty Eleven, and see if the problem persists? Not sure if this is a problem related to my plugin, or something else, i.e. your current theme.

    Thread Starter cayogeneral

    (@cayogeneral)

    Oh, wow. It works perfectly fine in twenty eleven. I guess there’s something in my theme that’s the problem. Any ideas what part of the code could be doing this to shadowbox?

    Plugin Author Stian Andreassen

    (@stiand)

    Yes, it seems the following styles in your theme’s style.css is the culprit:

    iframe,
    embed,
    object {
    	max-width: 100%;
    	height: auto;
    }

    I think you can safely remove it entirely, but the height: auto; is making your videos smaller in Shadowbox.

    Thread Starter cayogeneral

    (@cayogeneral)

    could it be timthumb?

    Plugin Author Stian Andreassen

    (@stiand)

    No, timthumb is only used on the thumbnails. As I said above, the definition of height: auto; on iframes is causing the problem.

    Thread Starter cayogeneral

    (@cayogeneral)

    Ok, thank you very much for isolating the problem. If I can’t get it to work, I’ll take it to the person who modified the theme.

    Cheers!

    Plugin Author Stian Andreassen

    (@stiand)

    Happy to help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Shadowbox with Youtube Simple Gallery’ is closed to new replies.