In short, I have this portfolio website that I have been working on. It has some of my blogs in a grid and a navbar. I want the navbar to be fixed at the top while scrolling. I have tried every method and I got a step closer to the solution, but the problem is that now when I scroll up, the grid overlaps the navbar.Please help me find the solution.
Here’s the screenshot of the result-
Here is the codepen link.
I have tried every solution I could find but none worked, and I want this project done ASAP.
Thanks in advance!