![]() |
Fluid width youtube video modules
Hi,
I am pretty excited to share some additions to my forum. I created step by step instructions on how to create fluid modules for youtube videos using the html static modules and addtional_css. Here's the link: Vbulletin 5 How to create fluid width Video modules Horizonatal Aligned And here's a screen shot of the video modules: https://vborg.vbsupport.ru/external/2016/03/9.jpg |
Well done sir....
Is there a link where people can see them demonstrated? |
Quote:
Enjoy and thanks for the compliment Demostar! |
Hello there. . .
They look and act great with the PC. However, have you tried viewing them using your mobile? I try to view them through Chrome using developer tools and whilst all the other modules are displayed the 2 modules Youtube ones are not visible.... I also tried a full zoom on Firefox and they disappear... Not sure if that is a good test or not but it would have me scratching my head. . . |
Quote:
div#widget_224.b-module.canvas-widget.default-widget.custom-html-widget { width: 50%; height: 100%; border:thick solid #1C4F70 !important; } div#widget_225.b-module.canvas-widget.default-widget.custom-html-widget { width: 50%; height: 100%; border:thick solid #1C4F70 !important; } 667px is fine for newer smartphones but leaves out the 640px crowd, which is a huge percentage of smartphone users. |
@shimei
Quote:
Thanks for that. . . Guess that what community is about. . . |
I am using @media queries to display: none on screen sizes below 667px. If one doesn't want that they only need not put the @media queries in additional_css. Or customize it as you have suggested.
I prefer not to display them on smaller screen resolutions. Actually, I try to make the site as bare bones as possible for little display devices. |
Quote:
Seems we were posting at the same time. . . |
Quote:
|
All times are GMT. The time now is 01:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|