You can use this task to impart a custom style to the page, component, or element. The style includes several style-based properties, such as the font’s color, size, type, background, animation, and CSS file-based properties.
To configure the Add Custom Style property:
- In the Events dialog box, scroll down.
- Under Add Tasks, click the Select Task list, and then select ADD_CUSTOM_STYLE task.
- Click Add Task Config, and the Add Task dialog box opens.
- In the Add Task dialog box, click the Configuration area to expand it.
- In the Configuration area, perform the function as follows:
|Select Type||Click this list and then select one of the following entity types:|
The application will impart the style to the selected entity.
|Select ID||In this field, enter the ID of the selected entity.|
Note:- If you do not remember the ID of the selected entity type, close the current dialog box and go to the selected entity (For example:- element) and then note down its ID.
|Add Style||Click Add Style to expand it. In the Add Style area, you can configure the following properties:|
a. Font family
b. Font size
c. Text alignment
d. Text’s background color
e. Text’s padding and Margin, and others.
To configure the font-related properties of an entity, visit the posts: vFlow Components and vFlow Elements (Common Properties). In the vFlow Elements (Common Properties) post, see the section: UI Properties (Data Style) and UI Properties (Label Style).
|Add Animation||To configure the animation-related properties of an entity, visit the posts: vFlow Components and vFlow Elements (Common Properties). In the vFlow Elements (Common Properties) post, see the section: UI Properties (Animation Style).|
|Add Css Classes||Click Add Css Classes, and the Add Css Classes field comes into view. In the Add Css Classes field, enter the Css class’s name if you want to apply the styles that are defined in the Css class.|
Note:- To know more about how to define a CSS class, visit the post: vFlow Elements (Common Properties). In the vFlow Elements (Common Properties) post, go to the UI Properties (Animation Style) section.
- After you define the style-related properties, click Submit to configure the ADD_CUSTOM_STYLE task.