Log in

View Full Version : css and conditionals


Lionel
05-19-2005, 01:22 PM
I tried adding a conditional in vbmenu_control to control the font size like
<if condition="$languageid==2">10px<else />11px</if>
that did not work at all. Is there a way around it?

Colin F
05-19-2005, 01:25 PM
Conditionals only work in the templates, not in the css fields.

You might be able to add on to the css in the headinclude template, if that's called after the css. Try something similiar to this there.