markshuggah
markshuggah
KPCKevin Powell - Community
Created by markshuggah on 8/23/2023 in #front-end
Scoll issues with sticky nav bar and hero image
I am creating a website for my band: https://denounced-disgraced-git-feat-press-kit-updates-markmullins95.vercel.app/press When the content scrolls, it is visible under the navbar. I want it to cut off when it goes beneath the navbar. Also, I tried adding a margin / padding to the content in the div that contains the content, (class "sc-9caaeffa-1 gRLorz" in this case) and for some reason only margin left works at smaller screen sizes. I believe this is because of width: 100% but I am not sure.
42 replies