Top navigation bar should be fixed

I want to build a navigation at the top of my app where you can go to your profile if you click on the icon on the top right hand corner. But I want it to be fixed. Can someone help me with that?

Put it on a different z index and use absolute positioning.

It doesn´t works. I want the icon shown on the top of the page even if i scroll.

Thats how you do it - set the Z index to > 0 and use Absolute positioning.

1 Like