govfresh / govpress

The WordPress theme for government
https://wordpress.org/themes/govpress/
GNU General Public License v2.0
135 stars 50 forks source link

IE causes mobile menu to show even in wider desktop view #64

Closed ghost closed 9 years ago

ghost commented 9 years ago

IE shows the mobile menu even when using a wider desktop such as 1024 or above. I realize IE does not support media queries from what I understand. Will your theme support a separate css for IE 8 such as response.js or html5shiv / something similar in order to support mobile?

devinsays commented 9 years ago

There is support for IE8. The html5.js (shiv) is used to support HTML5 elements. There is also a body class "ie8" that can be used for custom styling.

You are correct that IE8 uses the "mobile" menu. This should still work fine for navigation and we viewed it as an acceptable fallback considering IE8 does not support responsive styles.