Wordpress: Responsive window width and height
Posted: Tue Jul 04, 2017 12:55 pm
Hello,
We used the wordpress plugin to embed ggpkg files as shortcode and had the width set at 100% and width at 576 in GGPKG Import Settings player view, resulting in a landscape view, which is correct.
However, when the it goes down to mobile sizes it becomes portrait, due to the fixed height - which isn't what we want . We would like to dynamically set the height when it goes to mobile view so the aspect ratio remains at landscape - how do we achieve that?
Thank you all so much!
We used the wordpress plugin to embed ggpkg files as shortcode and had the width set at 100% and width at 576 in GGPKG Import Settings player view, resulting in a landscape view, which is correct.
However, when the it goes down to mobile sizes it becomes portrait, due to the fixed height - which isn't what we want . We would like to dynamically set the height when it goes to mobile view so the aspect ratio remains at landscape - how do we achieve that?
Thank you all so much!