Hi! How to use Modernizr with Omega subtheme? Should I disable something in Omega theme settings first? Thanks a lot :-)

Comments

marcoka’s picture

Status: Active » Fixed

i guess you talk about http://www.modernizr.com/
look at the page on HOW to use it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tmsimont’s picture

it might be easier for a non-developer to use this:
http://drupal.org/project/modernizr

rather than just going to modernizr's website and trying to figure out how to get it to work with Drupal...

iwuv’s picture

I've only come across one issue with Modernizr and Omega 3 where "HTML5 shiv" was checked when creating my custom Modernizr build. Somehow this conflicted with the HTML5 shiv built into Omega 3 because Modernizr did not insert any test results into my <html> tag much to my dismay.

My quick solution was to uncheck "HTML5 shiv" on a new Modernizr build and everything worked fine after that.

Can't tell you at this point if there's a better way to do it as this worked fine for me and I moved on when it started working.