Vlocity Facts #12 | CSS changes to an OmniScript elements
For example: If their is a requirement where you need to change the color of the button or you need to add some custom styling of the elements. instead of creating templates you can follow this approach.
For applying CSS changes to the elements all over the OmniScript.
1. Inspect the element by right-clicking on the element and selecting Inspect.

This is other example for text element, here you can see the difference between the 2 text elements font-size. This is for single element on each step.
Use this code
#Text1 ~ label { Use this code
font-weight: bold;
font-size: 1.5rem
}
Text1 is the ElementName according to your element name you can change
=========================================================================
Comments
Post a Comment