title: CSS fixed y-axis only
body: <p>I'm working on a project that has a navbar. The navbar has to be fixed when scrolling through the page for easy access. The problem is, that when I narrow the screensize of my browser and I scroll to the right, the navbar stays fixed and buttons on the right of the navbar can't be accessed. I've searched the internet and couldn't find a solution. I did found something about fixing the X-axis, but jQuery was the only solution and I know nothing about jQuery, so I couldn't change the code to work for Y-axis too.</p>