I'm creating a application in Syncfusion blazor and this total content is divided in two sections: top row and content. The top row is sticky but somehow when I scroll down the main content will overlap the top row, I want that top row is always visible and wont get overlapped, how can i achieve this?
Default scroll position(on top):
When scrolled down a tiny bit:
As u can see the main content will overlap the top row, how can i avoid this and get the main content behind this top row bar instead of over the bar?
CSS top row:
CSS main content:
Add a z-index: 2000 to .top-row in site.css.
This will make the header the top most layer so the content won't overlap.