Fix for Twenty Seventeen’s stucking header (WordPress theme)

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;
}