Reviewed & tested by the community
Project:
Omega
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
29 Mar 2012 at 16:04 UTC
Updated:
3 Oct 2012 at 15:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
MStrzelecki_ commentedIt works very well with omega's repsonsive logic.
Comment #2
Yuri commentedhmm i got this error when using the code above:
Comment #3
MStrzelecki_ commentedYou should copy omega's html.tpl.php to your subtheme and replace default html tag with above code.
Comment #4
chaquea commentedThanks miszc, works great for me too and its so much easier to do than loading a bunch of stylesheets
Comment #5
MStrzelecki_ commentedOmega 3.2?
Comment #6
Yuri commentedYep got it working too. thanks. (3.1 dev version 23 feb)
Comment #7
MStrzelecki_ commentedComment #8
cellar door commentedThoughts himerus? IE isn't fun but this could make the lives of those who have to deal that much better
Comment #9
MStrzelecki_ commentedComment #11
MStrzelecki_ commented#9: omega-ie_conditional_classes_1508452-#9.patch queued for re-testing.
Comment #13
MStrzelecki_ commentedComment #14
MStrzelecki_ commentedComment #15
TelFiRE commentedGreat! How soon will this be in the stable release? I'm really needing to target IE and would rather not develop a hacky/custom solution if this is coming very soon. I guess I can patch myself but always like to avoid that stuff :p
Comment #16
Soundvessel commentedCan we have the classes setup to have some commonality between IE8 and IE9 as well? I know of at least one CSS issue (transparent gif as background needed to make clear elements clickable) that is shared between IE8 and 9.
Comment #17
squarecandy commentedNice - works for me.
Comment #18
squarecandy commented@telfire - read #3 above - apply this change to html.tpl.php in your subtheme and you won't be hacking the base omega theme.
Comment #19
TelFiRE commentedThat's ok for now but like I said, I'd prefer it to be in Alpha's because I don't usually use that file and I'd like any updates made there to apply when I update Omega. Not sure if it really matters but not sure why it wouldn't be applied either?
Comment #20
frederico commentedI did the same thing squarecandy did and it works great. Thanks to micz_ for this!!! You are a genius!
-Frederico Garza
Comment #21
sutharsan commentedI would rather have the functionality of Conditional Stylesheets in Omega instead of this patch. The patch is limited, and always will be, in the browser/versions it supports. Conditional Stylesheets gives you all the flexibility. Zen theme already includes the Conditional Stylesheets code in its base theme. I re-use this part of zen's code everywhere I need it, such as custom themes based on Omega.
Comment #22
fubhy commentedWe can think about adding that alternative syntax in Omega 4.x .info files and layouts. The syntax that John uses in that module seems reasonable. Alternatively you can still add conditional stylesheets via drupal_add_css() :).
Comment #23
pere orgaThe patch works great for me, thanks!
Does anyone know if it's possible to output the rdf namespaces just once? Now there is a lot of HTML code duplicated.
Unfortunately, the code below does not work:
...
EDIT: Maybe IE does not need RDF?