Page 1 of 1

filling the screen with a layer

Posted: Sun Oct 27, 2019 9:18 am
by IanRob
I have a single html with multiple layers (which are brought to the front at various times by javascript).

I have used Webbuilder to put in a top blank layer. Before the javascript even starts I want the top html blank layer to have a style that completely fills the screen, so that on start-up it just shows this blank layer filling the whole screen. However, I cannot see how to make the style so that the top layer fills the screen at the very onset.

I have tried almost every variation of properties, but the current settings are:
Mode floating layer
Relative horizontal and vertical sizing
Floating mode full screen
Alignment center in browser window

Any help would be appreciated.
Thanks

Re: filling the screen with a layer

Posted: Sun Oct 27, 2019 10:12 am
by Pablo
It is not possible with a layer, but you can use a flex container or layout grid and set the height to '100vh'

Re: filling the screen with a layer

Posted: Sun Oct 27, 2019 11:11 am
by IanRob
Thanks Pablo This is fantastic service

I will try that and get back to you

Ian

Re: filling the screen with a layer

Posted: Sun Oct 27, 2019 3:29 pm
by crispy68
Depending on how your page is set up but this also works:

1. In page properties, set page alignment to 'set page width and height to 100%
2. Insert your layer set to: floating layer, floating mode = full screen

Re: filling the screen with a layer

Posted: Mon Oct 28, 2019 9:52 am
by IanRob
Hi crispy68

Thanks

That is great

Ian