Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There's some nice gists out there (by Chris himeself nonetheless) that add support for IE8 in Foundation 4's grid: https://gist.github.com/chrisjlee/5952030 and the original: https://gist.github.com/hatefulcrawdad/5068210
I'd like to see this worked into the base theme and added as a setting maybe or just enabled by default.
Comments
Comment #1
nickBumgarner CreditAttribution: nickBumgarner commentedI found that using the following code as well as using the Respond.js more or less resolve the majority of IE8 issues.
The SCSS fix that I found seems to work similarly to Chris's code, but is more condensed.
https://gist.github.com/Celleb/6605909
Comment #2
chrisjlee CreditAttribution: chrisjlee commentedStarted working with this. I think we should add an ie.scss file in /sass/ that includes those grids.
Comment #3
alexweber CreditAttribution: alexweber commented@chrisjlee Agreed! What we've been doing internally is having it compile to it's own CSS file and including it conditionally in preprocess_page()...
Comment #4
chrisjlee CreditAttribution: chrisjlee commentedComment #5
nickBumgarner CreditAttribution: nickBumgarner commentedNot sure if there has been any work made on this front, but I'd be happy to contribute if possible. Can include preprocess function as well. Let me know!
Comment #5.0
nickBumgarner CreditAttribution: nickBumgarner commentedadded link to original gist from which Chris' is forked
Comment #6
kevinquillen CreditAttribution: kevinquillen commentedI've dropped that mixin into ie.scss and added a commented line in custom.scss that imports it, with an example of how to use the mixin on .lte-ie9 class. If there is more to add, we can do that. Marking as fixed for now.