Additional Classes
Last updated
Last updated
The Additional Classes setting in the Cost Calculator Builder allows users to customize the appearance of elements by adding CSS classes. This feature provides flexibility for users to style elements according to their website’s design.
Each element within the Cost Calculator Builder has a field labeled Additional Classes in its settings. Users can input the names of their custom CSS classes into this field to apply specific styles to those elements.
But these classes should be defined in your WordPress beforehand.
Follow WordPress Dashboard > Appearence > Themes and click on Customize:
Open Additional CSS tab:
Define your CSS classes to the designated area and Publish them:
Here is the example of the CSS classes that hides buttons and changes the color of the title
As an example let's add the custom CSS class to some quantity field.
Open the settings of the quantity field, enter the name of the CSS class without dot (.
) beginning:
If you want to add multiple CSS classes, separate them with space!
Here is the result of our CSS:
You can check the CSS classes via Developer Tools on your browser: