I completed the product landing page project but there are some issues with its header which I couldn’t solved no matter what I do. Whenever I changed the position of header to “fixed”, it becomes like this(click on the link and you will see how weird it is). How can I solve this issue?
Please help. I tried everything I could. I am stuck for 4 hours but I couldn’t correct it. HELP!! SOS!!
Any other suggestions regarding responsive web desigining or web design in general is welcome too. Please help me fix header of this page. Thanks a lot in advance!!
It is because of the height of the header. You could increase the margin-top to 150px.
Ideally, for mobile devices you would create a hamburger menu.
If you were interested in going down that route you can read any of these articles on how to do that.
For this you can also change your header height to a percentage; for example height: 10%. Though I noticed that once the viewport width gets down to a certain size, the words in your navbar will disappear.