Not a bug Automatic Browser Specific code doesn't work on Pages

Lisa

Well-known member
(What a terrible thread title!)

Anyway, I'm finding that if I add css that requires browser-specific css (say transform, for instance), while I can put in a single line for it to work within the forums, I have to list every variation - moz, o, ms, etc) to make it work within pages.
 
Are you placing the CSS directly into the template or is it in a separate .css file and including it via css.php (xen:include may automatically do that)? I believe the extrapolating of those lines of CSS occur in CSS.php. Lemme check real fast.

Yup, seems that's a css.php function. (y)
 
Are you placing the CSS directly into the template or is it in a separate .css file and including it via css.php (xen:include may automatically do that)? I believe the extrapolating of those lines of CSS occur in CSS.php. Lemme check real fast.

Within the page template.
 
Yeah, it looks like css.php accomplished that using XenForo_CssOutput::translateCssRules();. Try adding it into its own page.css template and including it via css.php (you may only need to do a <xen call).
 
Back
Top Bottom