Newbie here following the crash course and building as it progresses. If I simply drop in a nav bar without changing anything and change the position to ‘fixed’, it collapses to the left. What am I doing wrong?
You have to specify a fixed width on the element when using position fixed. Try giving the element a width of 100% or 100vw to make it cover the screen.
Hope that helps
thank you! They excluded that from the tutorial…
Oh. That makes it a bit confusing!
Glad it helped