Sticky Header content overlap. about section overlap with sticky header.
Any geek here
Below is codepen project file
Sticky Header content overlap. about section overlap with sticky header.
Any geek here
Below is codepen project file
You could give your #emailsubscribe
a padding-top of about 200px (little less for the mobile view).
position: fixed;
whenever you can. Use;position: sticky;
top: 0;
On a side note, keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
)
Thanks for ur answer jsdisco but when I applied padding to #emailsubscribe the about, video and pricing link page not work they way I want. Anyhow thanks for your precious time to answer my question. Have a good one
Thanks you very much Roma for your answer, and its really work for me. I really appreciate to your time to putting in FCC forum to solve new coder problem.
Hi Roma,
But still have problem with link page they not going to exact same position at about, video and pricing.
Look into / research a property
called scroll-padding-top
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.