By Jux on Friday, 08 January 2016
Replies 1
Likes 0
Views 1.1K
Votes 0
Hi folks just a quick tips in order to show you on how to make youtube or other videos, better responsive, meaning that it will fit all space

open your custom.css or the css file that override all your template (in general it is located in your template folder inside css folder)

and add the following css code anywhere:


/*make EB video better responsive*/
.legacy-video-container {position: relative;padding-bottom: 56.25%;padding-top: 30px;height: 0;overflow: hidden;}
.legacy-video-container iframe, .legacy-video-container object, .legacy-video-container embed {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
Thanks for sharing
·
Friday, 08 January 2016 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post