Vertical Side Bar Help

Every time I add a new item to the page, my side nav bar shifts downwards away from the position I want it in, is there any way I can fix this, please? So when I add new items it doesn’t shift down and it stays in the same place.

The Code.

Thank you! Any assistance would be great.

Welcome, jackson.

There are a few things that would help this situation:

  1. Define your navbar first.
  2. Set it’s position to be fixed, as well as being in the top right.
  3. Decide if you want to use grid or flex to ensure the spacing between your navbar and content is well defined. Then set up 2 containers to separate them.

Hope this helps

1 Like