Skip to main content

Navigation Bar + Page block to add up full size

Comments

4 comments

  • Permanently deleted user

    What I would like to achieve:

    Full height Page Element including a global navigation block sitting on top

    i set the margin of the global navigation block to -52 px (its height)

     

    Full Height Block setting:

    0
  • Permanently deleted user

    Hello Max,

    You have implemented your design correctly. There is something you can do better though.

    You have set the bottom margin of your header to a -53. Since you are using a global header, this negative margin will apply on all your pages (and on other pages, you may not have a full-width hero image. )

    A better way to implement this would be to set the top margin for your hero block (the block with full width and full height) to -53 and set the bottom margin for your global header to zero. This way on all other pages, the header will not carry a negative margin. See here.

    Best regards, Nelea

     

    0
  • Permanently deleted user

    Hi Nela,

     

    thank you for this tip. I did as you suggested,

    best regards,

    Max

    0
  • Permanently deleted user

    We are welcome, have a nice day.

    0

Please sign in to leave a comment.