Menu icon Foundation
Gulp minify breaks top-bar

Hi - When I set gulp to production and the css and js are minified (massive size savings!) the top bar is defaulting to mobile view. I've had a look at the media queries to see if there are vital spaces missing, but they look ok. There are no errors in the console, and the rest of the site appears to be ok. Has anyone has experience of this, and is there a workaround or fix?

gulp minify production topbar

Hi - When I set gulp to production and the css and js are minified (massive size savings!) the top bar is defaulting to mobile view. I've had a look at the media queries to see if there are vital spaces missing, but they look ok. There are no errors in the console, and the rest of the site appears to be ok. Has anyone has experience of this, and is there a workaround or fix?

Ercan Murat KISACA almost 4 years ago

Similar happened to me in Foundation 5. In minified Css, Top-Bar css breaks and it stays opened with all dropdowns. I changed to unminified css, but this solution does not helps to you I guess :)