#Section padding its going under header
36 messages · Page 1 of 1 (latest)
Is your header's position absolute?
the issue is that ur header gets pushed down?
yea i suppose, anything that might be relevant
could it be bc the margin isn't 0 in some element, causing the header to get pushed down?
If you only want to apply a property to the first element of a certain class, you can use :first-child pseudo selector
https://developer.mozilla.org/en-US/docs/Web/CSS/:first-child
@dapper berry Yes I know but why to work with childs in this situation
its just working with position absolute and fixed
I mean, you could always keep the header position absolute, and then just add more padding for the first section
its searching a loot of padding when its under header
what about ur media queries? can i see the css for that?
@calm tulip that is the only solution
bring the position fixed back and give the home section more paddng
padding
alr then, that words too
Thanks
no need to thank me lol, I didn't solve anything 😅