I am trying to figure out how to prevent the search bar (not the top navigation bar) from overlapping with the page contents when scrolling down. Just to clarify, I have both a navigation bar and a search bar, but the issue I'm addressing specifically involves the search bar (the sticky bar) staying on top of the content while scrolling.
Desired Outcome: I want the search bar to remain on top of the page content instead of overlapping it as the page is scrolled
Things I have attempted: you can view the code in the link below ⬇️.
Check out the code in Codeply:
Thank you