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
How to Fix the Windows Managem...
A corrupt WMI repository can mess up things like the Symantec management agent and its ability to deploy software. If you check properties of "WMI Control" in ...
Kingston USB Drive Not Working...
I upgraded to MacOS El Capitan and to my chagrin my Kingston USB drive no longer works. I get some stupid "Unable to start DTXX application" or "ERR_COULD_NOT_...
What I Hate About Mac and What...
Since I'm into creating comedy videos and recording my own music, I thought I'd try shifting to the Mac platform for my creative pursuits. I made the move in la...
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...