# Customize a widget

Use the widget builder to choose testimonials, pick a layout, style each element, preview the widget on any device and publish it.

The widget builder is where you choose what a widget shows and how it looks. It opens when you create a widget. If you built your widget on our website before you had an account, see [Keep the widget you built before signing up](/help/display/keep-a-widget-you-built-before-signing-up). To come back to it later, click the widget's name, or **Edit**, on the **Widgets** page, under **Share** in your project's sidebar.

The builder has four tabs on the left: **Content**, **Layout**, **Design** and **Settings**. The preview on the right updates as you work, and your changes save automatically.

1. **Choose your testimonials**

   On the **Content** tab, pick a **Selection Mode**:

   - **Curate**: you pick the testimonials and their order. Click **Add**, tick the testimonials you want and click **Add Selected**. Drag a testimonial by its handle to move it, or click the X beside it to remove it.
   - **Auto-sync**: rules such as rating, type, tags and source keep the widget filled as new testimonials are approved.
   - **Proof Match**: shows the testimonials that fit each page of your site, by URL, campaign and referrer. Proof Match is available on Premium and Business. See [Set up Proof Match rules](/help/display/set-up-proof-match-rules).

   A widget only ever shows approved testimonials. If you switch away from **Curate**, your hand-picked testimonials and their order stay saved for when you switch back.

   While a widget has nothing to show, the preview draws example testimonials, with a line above it that says so, so you can choose a layout and a design first. They aren't part of the widget: they're never saved or published, and your own testimonials replace them as soon as the widget has one. A Video widget shows no examples, because they are written testimonials, and neither does a widget whose reviews are still being imported.

   ![The widget builder's Content, Layout, Design and Settings tabs, with Selection Mode and the selected testimonials](https://assets.retestimonial.com/app-statics/help/shots/widgets-builder-sidebar.4c3491cf.webp)

2. **Pick a layout**

   On the **Layout** tab, choose a **Widget Type**. Below it, the settings for that type (for example **Carousel Settings**) include a style picker, such as **Carousel Style**, and the options for that layout. Every widget type is available on Pro, Premium and Business.

3. **Style each element**

   On the **Design** tab, pick the part of the widget you want to style. The list is grouped into **Global** (such as **Theme & Frame**, **Global Colors** and **Typography**), **Card elements** (such as **Card**, **Author** and **Rating**) and **Widget elements** (such as **Navigation Arrows** on a carousel). It shows only the parts your style uses. Click one to open its options, and click **Back** to return to the list.

   You can also click the widget itself: hover over any part of it in the preview to see an outline, then click to open that part's options on the **Design** tab.

   On plans without custom colours, your site still shows the six preset accent colours from the free widget builder and your theme's standard card, text and background colours. Any other colour you pick is left out of the published widget, which shows its standard colour instead. Custom colours are on Pro, Premium and Business.

   **Reset styling** clears the changes to the element you have open. **Reset all design**, at the bottom of the list, resets all design styling and keeps your layout settings.

   On Business, **Custom CSS**, under **Global**, restyles any part with your own CSS. See [Style a widget with custom CSS](/help/display/style-a-widget-with-custom-css).

4. **Preview it**

   Click **Desktop**, **Tablet** or **Mobile** above the preview to see the widget at that size. To try the widget the way your visitors will, click **Preview** in the top bar (or press Ctrl+P). Every control in the widget works there. You can switch device, change the page background and turn on **Page context** to see the widget inside a sample page. Press Esc to return to the builder.

5. **Publish it**

   A new widget starts as a **Draft**, shown in the badge beside its name. Click **Publish** in the top bar, or in the **Preview** window. Then [add it to your website](/help/display/embed-a-widget-on-any-website).

   A published widget has no separate draft: the builder saves your edits to the live widget. For what publishing needs, how to try changes on a copy first and how to take a widget off your site, see [Publish, update or unpublish a widget](/help/display/publish-update-or-unpublish-a-widget).

## Settings worth knowing

The **Settings** tab starts with the widget's status. For a published widget it says on how many pages the widget was viewed in the last 30 days and when it was last seen, such as **Live on 3 pages · 2h ago**, or **No views yet**. A published widget has a **Get code** button there, which opens the same window as **Get code** in the top bar; a draft has **Publish**. See [Find the code again](/help/display/embed-a-widget-on-any-website#find-the-code-again).

Under it is a list of settings for the whole widget. Each row says what is set. Click a row to open it, and **Back** to return to the list. A dot beside a name means the setting differs from its default, and **Reset** in an open setting puts it back.

- **Size**: **Width**, **Max width** (click its unit to switch between pixels and a percentage of the space), **Shrink on small screens** and, for most styles, **Min** and **Max** under **Height**. A style that floats over the page sizes itself, and its row says **Managed by this style**. See [The layout or size is different](/help/troubleshooting/widget-looks-different-on-your-site#the-layout-or-size-is-different).
- **Note under the widget** adds one line of your own under the testimonials. See [Add a note under the widget](#add-a-note-under-the-widget).
- **Star rating snippet** adds schema.org rating markup for search results, and shows how many of the widget's ratings count towards it. Reviews imported from other sites, such as Google, don't count. Available on Business. See [Can search engines see the testimonials in my widget?](/help/display/widget-questions#can-search-engines-see-the-testimonials-in-my-widget) Once it's on, **Product name** names the product the page sells; left empty, the markup uses your project's name. See [Which product does the star rating snippet name?](/help/display/widget-questions#which-product-does-the-star-rating-snippet-name)
- **Branding badge** shows or hides the "Powered by" badge. You can hide it on Pro, Premium and Business. See [Remove ReTestimonial branding](/help/account/remove-retestimonial-branding#widgets).
- **Translations & texts** holds three things. **Show testimonials in** shows testimonials in your visitor's language, using the translations you added in the inbox, on Business: see [Turn translations on for a widget](/help/manage/translate-testimonials#turn-translations-on-for-a-widget). **Mark translated reviews** says on each translated card which language it was written in, with a **Show original** link. **Edit**, beside **Widget texts**, rewords the widget's built-in text, such as "Read more", on Pro, Premium and Business: see [Translate the widget's own words](/help/manage/translate-testimonials#translate-the-widgets-own-words).
- **Google Analytics** sends the widget's events, such as a view or a testimonial click, to the Google Analytics 4 or Google Tag Manager on your site. Available on Pro, Premium and Business. See [Send widget events to Google Analytics 4 and Google Tag Manager](/help/integrations/google-analytics-and-google-tag-manager).
- **Custom JavaScript** runs your own script on your site after the widget renders, never in the builder's preview. When you leave the box, the builder checks the script and tells you if a mistake in it would stop it from running. Available on Business, and only with the **Script** code: see [Script or iframe](/help/display/embed-a-widget-on-any-website#script-or-iframe).
- **Widget details** lists the widget's **Embed key**, which is the `data-widget-key` in its code, with its **Widget ID** and **Slug**. Above them, **Where it's live** lists the pages the widget was viewed on in the last 30 days and when it was last seen on each. A page shows up after its first visitor. On Pro, Premium and Business, it also shows each page's views.

## Add a note under the widget

A note is one line you write under the widget's testimonials, for anything visitors should read beside them: what most customers can expect, how you collected the testimonials, or a thank-you you gave for one. It's on every plan.

On the **Settings** tab, turn on the switch in the **Note under the widget** row. If the note has no words yet, its options open; otherwise click the row to open them. Write the note under **Text**: plain text on one line, up to 280 characters. A link or formatting is shown as you typed it. Then choose its **Alignment** (left, center or right) and its **Size**, **Small** or **Regular**.

To start from a ready wording, click **Start from** beside **Text** and pick one. It replaces what the note says, and you can then edit it:

- **How these were collected**: "Every review here is from a customer we emailed after their order."
- **A selection**: "A selection of our customers' reviews, not all of them."
- **A thank-you**: "Customers who wrote one were offered a thank-you, whatever they said."

In many countries, consumer rules ask a business that shows reviews to say how it collected them, not to present a selection as all of them, and to say when it gave anything for one. Picking a wording doesn't turn the note on: use the switch for that. To get your own words back, undo the change: see [Undo, redo and saving](#undo-redo-and-saving).

The note shows under the widget and above the "Powered by" badge: on your site, in the builder's preview and in the **Preview** window. It takes your page's text colour, a little lighter, and the widget's font. Turn the switch off to hide it; your words are kept for when you turn it on again. **Reset** in the open note clears it.

A style that floats over the page (the **Floating Proof** type, the Badge's **Floating Proof Tab** style or the Video's **Floating CTA** style) has no place for a note. Its row says **No place for a note in this style**, and the note comes back if you switch to a style that sits in the page.

## Undo, redo and saving

The builder saves as you work. The top bar shows **Saving...** while it saves, then when it last saved. Use the undo and redo buttons in the top bar, or these shortcuts:

| Keys                       | What it does                |
| -------------------------- | --------------------------- |
| `Ctrl+Z`                   | Undo                        |
| `Ctrl+Y` or `Ctrl+Shift+Z` | Redo                        |
| `Ctrl+S`                   | Save now                    |
| `Ctrl+P`                   | Open the **Preview** window |

On a Mac, use `Cmd` instead of `Ctrl`. Undo, redo and preview don't respond while you're typing in a field.

## Next steps

- [Choose a widget type](/help/display/choose-a-widget-type)
- [Publish, update or unpublish a widget](/help/display/publish-update-or-unpublish-a-widget)
- [Embed a widget on any website](/help/display/embed-a-widget-on-any-website)
- [Approve, reject and archive testimonials](/help/manage/approve-reject-and-archive)
