Home › Forums › CSS › Responsive fixed header problem › Re: Responsive fixed header problem
April 9, 2013 at 6:38 pm #131179
I don’t think it is possible to have the header “push down” the main content, when the header has a fixed position. Reason being that the fact that it’s fixed, it’s taken out of the document flow and it has no impact on its surrounding elements (= everything else on the page).
You probably can’t do this without some JS/jQuery where you calculate the height of the fixed header, and then use that to push down the main content. A bit like this: http://codepen.io/senff/pen/gaEzd.