Skip to main content
Common CSS Updates

This will help basic customization to your calculator.

K
Written by Kristina
Updated over a week ago

Using these snippets you can update the look and feel of the calculator using our advanced styling section. Learn more about CSS styling Here

  1. Adding a header above all calculators:

    #calculator::before { content: "Custom Price Heading"; font-weight: bold; font-size: 24px; text-align: center; display: block; clear: both; background: white; line-height: 40px; color: green; }

  2. Controlling the swatch sizes:

    .swatch-picker .swatch-label { height: 80px !important; width: 80px !important; } .swatch-picker .swatch-label input { height: 80px !important; width: 80px !important; }

  3. Controlling the background and text color in the dropdown element:

    #calculator .element select { background-color: green !important; color: #fff; }
  4. Removing the arrows in image selector.

    /* Chrome, Safari, Edge, Opera */ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

    /* Firefox */ input[type=number] { -moz-appearance: textfield; }


    โ€‹We do this for merchants with a small fee. Chat us now!
    โ€‹

Did this answer your question?