I have created a bunch of collection pages, which pull info from our CMS.
Part of the page is a Youtube embed that is revealed when clicking on a thumbnail. I set the dimesions of the video so that they fit the Youtube video dimensions.
It all works fine for 18 of the pages in the collection, however, strangely on 3 of them there is a strange top padding of 75% that pushes the video outside of the frame.
These are three collection pages this happens on. All others are working fine:
Looking at the developer tools there seems to be a 75% top padding on the “mission-report-hero_video” class. Strangely this is only present for the pages mentioned above.
It would be great if someone could help with this issue…
@mdelsing06 I was also looking into that. But on the relevent element I don’t get the option to define padding. Webflow shows “Magic” for top padding there. I think that might also be the reason why it is behaving strangely.
The “magic” padding usually makes sure that videos stay responsive and with proper aspect ratio, but in this case it does the exact opposite.