Cost Calculator Builder
Item PageVideo TutorialsChangelogResources Get Started
  • Cost Calculator Builder Documentation
  • Getting Started
    • Free Version and Pro Version
    • System Requirements
    • Plugin Installation
    • License Activation
      • Upgrading the License
    • Update Billing Details and Access Invoices
    • License Utilization
    • Update The Plugin
    • Templates
    • Feature Request
  • Plugin Features
    • How to Create a Calculator
    • How to Manage Calculators
    • How to Add a Calculator to the Page
    • Calculator Appearance
    • Additional Classes
  • Cost Calculator Settings
    • Calculator Settings
      • Summary Block
      • Currency
      • Warning Texts
      • Confirmation Page
      • Order Form
      • Form Manager
      • Sticky Calculator
      • Woo Products
      • Woo Checkout
      • Payments
      • Webhooks
    • Global Settings
      • Currency (Global)
      • PDF Entries
      • Share Quote Form
      • Order Form (Global)
      • Email Template
      • Backup Settings
      • AI Formula
      • Captcha
      • Payments (Global)
      • Geolocation
  • Calculator Elements
    • General Overview
    • Text
    • Quantity
    • Validated form
    • Dropdown list
    • Image Dropdown (Pro feature)
    • Radio Select
    • Image Radio (Pro feature)
    • Switch Toggle
    • Checkbox
    • Image Checkbox (Pro feature)
    • Date Picker (Pro feature)
    • Time Picker (Pro feature)
    • Basic Slider
    • Multi Range (Pro feature)
    • File Upload (Pro feature)
      • How to Allow Additional File Types in WordPress
      • How to Increase Maximum File Upload Size in WordPress
    • HTML
    • Geolocation (Pro feature)
    • Line
    • Formula
      • AI Assistant (Pro feature)
    • Repeater (Pro feature)
    • Group Field (Pro feature)
    • Page Breaker (Pro feature)
  • Conditional System
    • Introduction
    • How to Create a Condition
    • Condition Options
    • Condition Actions
    • AND/OR Conditions
    • Condition Creating Example
  • Special Plugin Features
    • Orders
    • Discounts
    • Required Fields
    • Contact Form 7 Plugin
  • Payments
    • Settings
    • PayPal
    • Stripe
    • Razorpay
    • Cash Payment
  • Translating Cost Calculator Into a Different Language
    • Translation Basics
    • Translating Static Strings
    • Translating Calculator with WPML
    • FAQ
  • Develeoper's guide
    • Cost Calculator Hooks
      • Order Management
      • Contact Form
      • Confirmation Page
      • Email
  • Troubleshooting
    • Introduction
    • Plugin Conflicts
    • Theme Compatibility
    • Calculator is not loading
    • Cache Settings
    • Email not sending
    • Debug Logs
    • Submit a Support Ticket
  • Changelog
    • Release Notes
    • Changelog (Free Version)
    • Changelog (Pro Version)
  • Pre-built Calculators & Cases
    • Service Booking
    • Graphic Design
    • Loan Interest
    • Delivery Service
    • Renovation Company
    • Dental Services
    • Car Wash Company
    • Medical Services
    • Tuition Fees
    • Printing Services
    • Car Rental
    • Venue Rental Service
  • Advanced Topics
    • License Management
  • Stylemixthemes
    • Cost Calculator Builder WordPress Plugin
    • Themes
    • Plugins
Powered by GitBook
On this page
  • How to define Additional Classes on WordPress?
  • Adding Additional CSS in Cost Calculator

Was this helpful?

  1. Plugin Features

Additional Classes

PreviousCalculator AppearanceNextCalculator Settings

Last updated 9 months ago

Was this helpful?

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.

What Are CSS Classes?

CSS (Cascading Style Sheets) classes are used to apply specific styles to HTML elements. By assigning a CSS class to an element, you can control its appearance, such as its color, size, or position, using the class name in your CSS stylesheet.

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.

How to define Additional Classes on WordPress?

  1. Follow WordPress Dashboard > Appearence > Themes and click on Customize:

  1. Open Additional CSS tab:

  1. 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

.custom-style-for-quantity .calc-item__title span {
  color: red;
}

.custom-style-for-quantity .input-number-counter {
  display: none !important;
}

Adding Additional CSS in Cost Calculator

As an example let's add the custom CSS class to some quantity field.

  1. 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!

  1. Here is the result of our CSS:

You can check the CSS classes via Developer Tools on your browser:

Additional Classes
Two CSS classes
Title black, up-down buttons visible
Title red, up-down buttons hidden