I now have an idea how to create the requiered space:
I added in the css class of the columns “padding-bottom” with the value of the height from the video.
The problem now is how to get the value of the height from the video in the css file as a variable.
I tried useing someething like this:
var height = document.getElementById(‘element’).offsetHeiht;
but first of all I would have to add an ID to the video and I also have no idea how to connect a Javascript comment to CSS
With adding the code you suggested directly in the costum CSS of the columns it didn’t change anything.
So I now tried this tutorial:
https://generatepress.com/forums/topic/reverse-column-order-on-mobile-using-guternberg/
but here the the column reverses without adding white space beneath.
Here is my Website link (don’t look at the other pages – they are not finished jet xD)
Website
-
This reply was modified 3 years, 8 months ago by flo2828.