OK, after a lot of digging and tweaking in CSS and autoptimize it seems to be working better now. However, instead I get a white flash every time a new page is loading. That’s only in chrome and I believe it’s not a GP problem.
In more detail I changed the CSS code from:
/* Keeps menu bar in place!*/
#site-navigation.main-navigation.grid-container.grid-parent.stuckElement {
width: 100%;
}
to
/* Keeps menu bar in place!*/
#site-navigation.main-navigation {
width: 100%;
}
It seems to work better although I have no idea what I’m doing!