Customize the Widgets

Our widget editors provide a range of options to tailor the appearance of the widgets to align with your brand's guidelines. For more advanced styling, you can also use custom CSS.

To Edit the CSS of the Widget(s):

  1. Access the Widget Builder: Go to Campaign Overview > Edit Campaign > Widget Builder.

  2. Select the Widget to Customize: Choose either Signup Form or Dashboard, depending on which widget you want to style.

  3. Open Template Settings: Click on Template Settings.

  4. Add Custom CSS: In the Custom CSS field, enter your CSS code to apply the desired styling to the widget. This allows for more granular control over the widget’s appearance beyond the default editor options.

  5. Save Your Changes: Save your changes to apply the new styles to your widget.

To see a list of customizable CSS elements and examples, click here.

Customizing Fonts:

ReferralHero's embeddable widgets automatically use the font of the parent container, which may sometimes result in the wrong font being applied. To ensure the correct font is used, you can specify it in your custom CSS.

For example, to apply a specific font to both the Signup and Sharing widgets, use the following CSS:

/* Change font for both widgets */
.mtr-optin-form *, .mtr-sharing-screen * {
  font-family: 'Nunito'; /* Replace 'Nunito' with your preferred font-family */
}

Last updated