> For the complete documentation index, see [llms.txt](https://berylsystems.gitbook.io/referral-hero-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://berylsystems.gitbook.io/referral-hero-documentation/integrations/embeddable-widgets/customize-the-widgets.md).

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

   <figure><img src="/files/RTN2FFUHELgRhu38HCzf" alt=""><figcaption></figcaption></figure>
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](https://github.com/maitre-app/style.css/blob/main/example).

### **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:

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://berylsystems.gitbook.io/referral-hero-documentation/integrations/embeddable-widgets/customize-the-widgets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
