Here is a link to the page I'm working on.
I've switched over to Bootstrap 3's mobile-first framework. The main difference is that instead of defaulting to a wide layout and using media queries to shrink down to mobile sizes, the default size is mobile and media queries are used to for wider resolutions:
So instead of:
@media (max-width: 767px) {}
We now use:
@media (min-width: 768px) {}
When using the old way, IE 8 (which doesn't support media queries) would display the page in its widest format. However now it displays the page in its mobile format, which is not desirable.
Is there any way to get the page to default to the widest layout when media queries are not supported? I include respond.js but have had no luck:
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
A fix that gets you a long way: Add a stylesheet for ltie9
Copy and paste the styling for cols, push and offset from the media query of your choosing (You find this in grid.less) into
ltie9.less
. i.ex. the medium size:Its has to be less, you need to include
variables.less
as well. Or you can replace all the widths width a percentage of your choosing, but why would you?