Comment on page
You can control how page elements behave and appear under certain circumstances. Define these conditions and the properties to be altered in the Conditional Formatting section in the Property Editor. States are applied in the order listed. If two states are active and modify the same property, the state listed last is the one used.
Note: With conditionals, you can create your own input validation, e.g. "This button should not be clickable until the input is at least 3 characters long". Some of these validations are not evaluated on each keystroke, but rather after the user pauses for a second.
A condition defines when the properties should change. A condition can be about the element itself, e.g., when a button is hovered or clicked or be based on a more complex expression, such as when the user is logged in. Build this expression one condition at a time. As this condition should return yes or no, it will be red until the condition is valid.
Select which properties to modify from this dropdown menu when the element meets the condition.
Clicking this button moves the condition up by one. The condition originally above the current condition will be moved down one.
Clicking this moves the condition down by one. The condition originally below the current condition will be moved up by one.
Clicking this removes the condition from the current element.
This button turns the condition on or off in the editor, so that you can preview what different states of the condition look like. The default is off. For more information:
This operation tests if the argument is a valid slug value for the Thing. A valid slug value is both unique and correctly formatted with only lowercase letters, digits, and hyphens.
This operation tests if the argument is an invalid slug value for the Thing. An invalid slug value is anything that isn’t made up of only lowercase letters, digits, and hyphens or that is not unique.
For a smoother effect, transitions change an element's properties over time. For example, define a transition so the background color changes over 500 milliseconds. When the color changes, the element's color will change gradually over 500 milliseconds instead of at one time.
Note: Transitions are not applied to gradient backgrounds.
Length of the transition in milliseconds.
This parameter determines how the intermediate values of the transition are calculated. Choose from several curves.
From the dropdown menu, select the property to apply the transition to.
Click the trash icon to remove the transition. The property will change instantaneously instead of gradually.
To set up conditions, you'll need to know your way around dynamic expressions. The article below covers this topic in-depth:
If you'd like a more extensive tutorial on how conditions work, you may also be interested in reading the user manual article below: