Page 1 of 1

*** SOLVED *** Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 1:32 pm
by alan_sh
A very simple site - download it here https://www.dropbox.com/scl/fi/k0ltifuy ... fwnk5&dl=1

There is a master page which has a layout grid set to 'header (fixed). I have another page which uses that master page. At the top I have nother layout grid with some text in it. That grid is set to 'floating'.

When I preview it in a browser, I don't see the second page. It looks like it is underneath the master page. If I add padding (+70 top) to the floating layout grid, then it does appear.

What am I doing wrong? Shouldn't it appear underneeath the master layour grid as it's set to floating?

I'm using the latest 19.0.0 version of WWB (24th Nov).

Any help appreciated.

Alan

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 1:40 pm
by alan_sh
edit - updated to the latest (26-Nov) and same issue occurs.

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 1:41 pm
by crispy68
How tall is the grid with the text? If it is not as tall.as the header then it will be behind the header since it is fixed to the top. Adding padding/margin like you did is the answer. When something is fixed it is removed from the layout (not floating).

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 1:45 pm
by alan_sh
Crispy - it doesn't matter how tall the text is - I need to add +70 to the padding to make it appear. Which feels all wrong and is not WYSIWYG as in the program it looks OK - but when published, it isn't. The layout grid in the normal page is 'floating'. Surely, it should float to below the 'Header (fixed)' layout grid.

I think it's a bug. But I posted it here first. I need to test it in V18 as I'd never noticed it until v19.

Alan

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 1:55 pm
by alan_sh
I tested the same thing in V18 and it works fine. This is a bug!! However, if I open the V18 verison in V19, it works.

I'm confused.

Link to the V18 project is https://www.dropbox.com/scl/fi/ntfdrgsy ... ypx8z&dl=1
Link to the V19 project is https://www.dropbox.com/scl/fi/k0ltifuy ... fwnk5&dl=1

Alan

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 2:04 pm
by alan_sh
No I am wroing - it doesn't work OK in V18 - I'd forgotten to set the master page grid to header (fixed). When I do that, it doesn't work.

Alan

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 2:09 pm
by alan_sh
More playing. If I change the layout grid to 'Sticky' rather than 'Header (fixed), it appears to do what I want.

So, what is the difference and where would you use 'Header (fixed)'?

Alan

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 2:14 pm
by lummis
Maybe the following extract from the Help will explain the fixed Header
ยท Fixed
The header will be fixed at the top of the browser window.
Note that a fixed HTML element will not affect the position of following objects (they will not be pushed down in the layout). This means that a fixed header will overlap floating layout grids/layers.
To prevent this you can add a (top) margin to the first element after the fixed header to give it an offset.

Re: Layout grid appears to be underneath a master layout grid

Posted: Sun Nov 26, 2023 2:55 pm
by alan_sh
Thank you - I should have read that first.

Sorry, everyone!