Japanatron Logo

PROBLEM
After updating my Joomla Gavick template to the latest version, the embedded YouTube videos appeared massively large on desktop browsers.  Mobile browsers looked OK.

SOLUTION
The problem is caused by the fitvids library introduced in later template versions.

- Find the file fitvids.jquery.js in the template's js folder.
- Comment-out line 25 in fitvids.jquery.js.

// var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';

Related Articles

Batocera - How To Pair 8BitDo ...

I struggled a bit with getting my new 8BitDo M30 controller to pair properly with Batocera.  Before we begin, please make sure the controller is on the latest f...

How to Find and Replace Text U...

After changing website templates I found that all instances of the <ul> html tag (used for bullets) no longer worked because the new template requires a c...

JomSocial - How to Disable Cov...

I don't particularly like Facebook's cover photo feature, so I didn't particularly like it when JomSocial followed suit.  Here's how to disable JomSocial's cove...

Running Adobe Illustrator with...

Here's a quick one.  I've been struggling with getting Adobe Illustrator (Creative Cloud) to run properly with user-level privileges.  It would often freeze and...