Streaming live at 10am (PST)

Fixed Navbar Question

I set up my navbar in fiexd, but when I put the nav link button, the page scroll at the wrong position, the extra space is the height of navbar, the section I want to link is start from the navbar bottom, I couldn’t find the way to solve this problem, please help me

Here is my project:

I had a quick look, and if you set the position property of the Navbar element to ‘sticky’ instead of ‘fixed’, that seems to solve the problem.

1 Like

I truly appreciate all your help on this matter.:smile:

1 Like

No problem at all! Glad it’s fixed

Your answer is totally work, but I meet another difficulty.
The top have extra space.
Do you know how to solve this problem?

Might not be the best method, but if you set the top margin of ‘Section home’ to -230px that seems to work okay.

1 Like

I can’t thank you enough AGAIN!!!:smiling_face_with_three_hearts: