Landing page project : help with positioning

first (of future, I guess) problem with my project
if I use “position: fixed” for the header, the first part of the page is covered by this header :frowning:
I tried to wrap all the page in a container with “position: relative” but it doesn’t work
I also tried to add margin-top to the presentation section but again, no results
please, help :frowning:

https://codepen.io/ranran212/pen/vYgjGJg

Hi @francesca.giammichel. Try this:

header {
  position: sticky;
  top: 0px;
}

More detailed explanations :point_right: position - CSS: Cascading Style Sheets | MDN

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.