Fix for Twenty Seventeen’s stucking header (WordPress theme)
Published in
1 min readFeb 28, 2019
For a long time I used the WordPress default theme “Twenty Seventeen” on my german blog Neue St. In general, the theme is pretty nice, but there’s a little „bug“ (?) that has bothered me for a while.
You can see it in the video above. When a page isn’t finished loading, the whole body seem to stuck over the header and then crashes in its actual place.
Here’s my fix for this:
body:not(.twentyseventeen-front-page) .custom-header {
margin-bottom: 72px;
}