Problem with responsive

corentin.posson
1 Posts
corentin.posson posted this 28 February 2024
Ask a Question

Hello,

I'm sorry to bother you, but I'm creating a site with a 100vh HTML block. When you arrive at the site, there's a script inside: Spline Design that calls a player.
I would like that no matter the format of the site (smartphone & tablet), that the script crops the player to continue to take 100vh and not that it puts a white space.

In the meantime, have a nice day,
Sincerely

Hello, I'm sorry to bother you, but I'm creating a site with a 100vh HTML block. When you arrive at the site, there's a script inside: Spline Design that calls a player. I would like that no matter the format of the site (smartphone & tablet), that the script crops the player to continue to take 100vh and not that it puts a white space. In the meantime, have a nice day, Sincerely
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 28 February 2024

Hello Corentin,

To ensure that the script inside the 100vh HTML block crops the player and takes up the entire viewport height (100vh) regardless of the device's format (smartphone, tablet, etc.), you can use CSS to style the container holding the player.
Make sure to apply the container class to the HTML element that contains the script calling the player. This ensures that the player is cropped to fit within the 100vh container, preventing white space from appearing on the page.
...................................................
Sincerely,
Anna.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Corentin, To ensure that the script inside the 100vh HTML block crops the player and takes up the entire viewport height (100vh) regardless of the device's format (smartphone, tablet, etc.), you can use CSS to style the container holding the player. Make sure to apply the container class to the HTML element that contains the script calling the player. This ensures that the player is cropped to fit within the 100vh container, preventing white space from appearing on the page. ................................................... Sincerely, Anna. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments