Referral Hero Documentation
Getting StartedFeaturesIntegration
  • Introduction to ReferralHero
  • Getting Started
    • Quickstart
    • Creating a New Campaign
      • Choose a Campaign Type
      • Set Your Goals
      • Define a Unique Identifier
      • Set Up Integrations
      • Set Up Automations
      • Configure Options
  • Features
    • Subscribers
      • Types Of Subscribers
  • Integrations
    • Overview
    • Embeddable Widgets
      • Advocate Dashboard Widget
      • Referral Signup Widget
      • Referral Welcome Banner
      • Sharing Widget
      • Floating Button
      • Customize the Widgets
    • Javascript Web API
      • Getting Started
      • Configuration File
      • Callbacks
      • Add a Subscriber
      • Add a Pending Referral
      • Track multi-step conversion events
      • Track Transaction
      • Identify a Subscriber
      • Identify a Referrer
      • Generate Dashboard Widget
      • Generate Sharing-Screen
    • React JS
    • Platform Specific Integration
      • Shopify
      • Webflow
      • WordPress
    • Mobile SDK's
      • React Native
        • Getting Started
        • Mobile App Testing in Development Mode
    • REST API
      • Lists
        • 🟠POST lists
        • 🟢GET lists
        • 🟢GET lists/:uuid/leaderboard
        • 🟢GET lists/:uuid/bonuses
    • API Tutorials
Powered by GitBook
On this page
  1. Integrations
  2. Embeddable Widgets

Customize the Widgets

PreviousFloating ButtonNextJavascript Web API

Last updated 8 months ago

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.

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 */
}

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

click here