Post

1 follower Follow
0
Avatar

CustomPanel - Styles

Hey Guys,

Concerning the Advanced->Styles, are you able to use Clarizen functions here to declare CSS based on something. Example:

{If($Category <> 'Analysis Clinic',

'#AnalysisClinic {

display: none;

}'

,null)}

 

It doesnt seem to work if you are allowed.

Gareth Bradley Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Just inspected the CSS and it seems that functions are not supported as they are not parsed it seems. See attached.

Gareth Bradley 0 votes
Comment actions Permalink
0
Avatar

Styles are static. Instead, define different styles and assign them to elements based on the condition

Eyal Post 0 votes
Comment actions Permalink