Skip to content

Customizing the EC Quote Trigger Button

After EC Quote is installed on your website, you can customize the button from the EC Quote admin settings. These settings let you control the button text, spacing around the button, button styling, and the quote UI theme without changing the embed code on your website.

EC Quote trigger settings

Go Live

Use Go Live to show or hide the EC Quote trigger button for the current pathway.

When Go Live is on, the quote button appears wherever the <ec-quote></ec-quote> element is installed. When Go Live is off, the button is hidden, but the installation code can stay in place.

TIP

Turning off Go Live is the intended way to temporarily remove EC Quote from a page. Only remove the <ec-quote></ec-quote> custom element from your website if you are fully uninstalling the plugin from that location.

Button Text

Use Button label to change the text shown inside the trigger button.

Examples:

  • Get a Quote
  • Start My Estimate
  • Request Pricing
  • Build My System

If the field is left blank, EC Quote falls back to the default quote button text.

Wrapper Styles

Use Wrapper inline styles to control the area around the trigger button. This is useful for spacing, alignment, and page placement.

For example:

css
padding: 1rem 0; text-align: center;

Common wrapper style options:

GoalExample
Add vertical spacingpadding: 1.5rem 0;
Center the buttontext-align: center;
Add space above the buttonmargin-top: 2rem;
Center with flexboxdisplay: flex; justify-content: center;

Wrapper padding controls the space outside the button. Use this when the button feels too close to surrounding content.

Trigger Button Styles

Use Trigger button inline styles to style the button itself. This controls the button color, text color, border radius, internal padding, width, shadow, and similar CSS properties.

For example:

css
background: #111827; color: #fff; border-radius: 999px; padding: 14px 30px;

Common trigger button style options:

GoalExample
Change button colorbackground: #111827; color: #fff;
Round the buttonborder-radius: 999px;
Adjust button paddingpadding: 14px 30px;
Make the button widerwidth: 100%; max-width: 320px;
Add depthbox-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);

Button padding controls the space inside the button, around the label.

Theme

The Theme settings control the primary styling used throughout the quote UI.

SettingWhat it changes
PrimaryThe main action and highlight color.
Primary foregroundThe text color used on top of the primary color.
RadiusThe corner roundness of quote UI elements, measured in rem.

Use Reset theme to remove custom theme overrides and return to the default EC Quote styling.

Theme Examples

These examples show how different theme choices can change the feel of the EC Quote experience.

Green

EC Quote green theme example

Blue

EC Quote blue theme example

Gold

EC Quote gold theme example

Example Styling Recipes

Centered Button

Wrapper inline styles:

css
padding: 1.5rem 0; text-align: center;

Trigger button inline styles:

css
background: #111827; color: #fff; border-radius: 999px; padding: 14px 30px;

Full-Width Button

Wrapper inline styles:

css
padding: 16px 0;

Trigger button inline styles:

css
width: 100%; max-width: 360px; padding: 16px 24px; border-radius: 8px;

Click Save after making changes.