Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
steven lane Posted May 30, 2015 Posted May 30, 2015 In the most current version of ip boards, how do I set it up so that youtube videos don't take up the max forum size. I'd like them to be like 50% instead of 100% of the page size. Thanks
Vince0789 Posted May 30, 2015 Posted May 30, 2015 In your theme, using the search box, search for the class ipsEmbeddedVideo. This should allow you to expand to core > global > framework > post-content.css. Then you should simple be able to change the width for that class from 100% to 50%.
opentype Posted May 31, 2015 Posted May 31, 2015 Note, that changing the width to 50% will probably also mean someone on a small phone screen will also only see a video scaled down far too much for this screen. A better solution would be to set “max-width”.
steven lane Posted May 31, 2015 Author Posted May 31, 2015 Max-height works better. However when I edit this either way, now there is a rather large area of space after the video and the video is 100% height, which won't fix with a height: 50% or max-height: 50%
Recommended Posts
Archived
This topic is now archived and is closed to further replies.