Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Conditional comments & require

Go to End

2 Posts   1329 Views


Community Member, 6 Posts

25 January 2014 at 3:06am

Edited: 25/01/2014 3:07am

When I use the require tag in a template, all that is required, is inserted at the bottom, instead of at the position of the require. This is not what I want, first of all. Secondly and more importantly, this goes wrong when including css in a conditional comment, like so:

<!--[if lt IE 9]>
  <% require themedCSS("ie8") %>

What should I do to get css at the position of the require, while still maintaining the version/filedate/hash (whatever it is) in the querystring for a css file?


Community Member, 1 Post

16 October 2015 at 7:58pm

More about...IE Conditional Comments