Page 1 of 1

Content "behind" fixed header ***Solved***

Posted: Mon May 24, 2021 7:37 pm
by Fredl
***Sorry, I accidentally posted this question in the wrong section earlier***
Hello,
I have a site I'm working on using the "Corporate" template as a starting point. The header is fixed by default. On the home page the content stays below the header as it should. The first element below the header is a transparent layout grid with text overlay which allows a photo to be used as the background so that the content scrolls above it. A neat effect but I don't want to use it on every page like I do the header. On another page I added some text on a layout grid below the header where the template had the transparent section (Which I deleted on this page), It looks fine in the WB16 but when I preview the site much of the text and part of an image is lost behind the header. I have added a top margin to the text as suggested in other similar questions about the fixed header covering content, but nothing I've tried makes the page behave correctly with the header fixed and no content falling behind the header. Any ideas as to how to fix this would be appreciated, Thanks!

Re: Content "behind" fixed header

Posted: Mon May 24, 2021 8:19 pm
by crispy68
Can you share a project demo of just these pages so we can see what you are doing? There are so many options in WB that it is difficult to point you in the right direction without actually seeing your setup.

Re: Content "behind" fixed header

Posted: Mon May 24, 2021 8:41 pm
by Fredl
Hi, yes here it is: https://drive.google.com/drive/folders/ ... sp=sharing
Funny I read your post about demo posting earlier, sorry I didn't already include a link.

*****EDIT****** I have found a solution that was eluding me. I added a top margin to the layout grid below the header equal to the header height, I tried before but the margin seemed to top out at 99. I typed the value in directly, 160 in this case. Now in WB there is a lot of space between the header and the grid elements below it. but when I preview it it looks right. Not sure if that was the correct method but it seems to have worked.

Re: Content "behind" fixed header

Posted: Mon May 24, 2021 9:59 pm
by crispy68
Yes, you will see the margin in design (extra space) but when previewed it falls behind the header.