Source: https://nishanth-fern-test.docs-staging.pageloop.ai/mobile/customize-a-pop-up

# Customize a Pop-up

After creating a Pop-up, customize it based on your requirements.

You can customize the following in a Pop-up:

- Add Body and Header content
- Add images and GIFs
- Add buttons and attach external and deep links

> [!INFO]
>
> The customization options differ based on the Pop-up template you choose.

On the Whatfix Mobile Studio, choose a Pop-up template and then click the Pop-up to configure the following:

![popup\_template\_studio](/images/c3/popup_template_studio-c34b96cc.png)

Expand the following accordions for more details:

**Header**

- Under the **Header** section, you can edit the Header text, change the font, font size, font weight, text alignment, text color, and bottom margin. You can also [add user property](/mobile/personalization) to personalize the experience for your end user. ![header\_popup](/images/7b/header_popup-7b52fd58.png)
- You can align the Header to the top or bottom, add any content block, or delete the Header section using the action bar. ![header\_action\_bar](/images/44/header_action_bar-44704f44.png)

**Body**

- Go to the **Body** section. You can edit the text, change the font, font size, font weight, text alignment, text color, and bottom margin. You can also [add user property](/mobile/personalization) to personalize the experience for your end user. ![2022-11-22\_16-57-16](/images/e8/2022-11-22_16-57-16-e896696f.png)
- You can align the Body text to the top or bottom, add any content block, or delete the Body section using the action bar.

![body\_action\_bar](/images/70/body_action_bar-704572bd.png)

**Topspacer**

- To increase, decrease, or delete the **Topspacer**, use the action bar. ![top\_spacer\_popup](/images/f6/top_spacer_popup-f68f55e9.png)

**Media**

- Under the **Media** section, you can click the **Edit** icon to add images and GIFs to your Pop-up from your local drive, and then configure the image size, alignment, and bottom margin. ![media\_popup](/images/c8/media_popup-c836347c.png)

> [!INFO]
>
> Whatfix Mobile only supports image formats including .jpg, .png, and .gif. GIF files are supported up to 500 KB, while all other formats are supported up to 100 KB.

- Enable the **CLICK ACTION** toggle to link any action to your image. Clicking the image triggers the action that you configure. ![click\_action](/images/09/click_action-09f9f306.png)

| Button Action | Description                                                                                                         |
| ------------- | ------------------------------------------------------------------------------------------------------------------- |
| Dismiss       | When the user clicks the media, the Pop-up is dismissed from the app screen                                         |
| External Link | When the user clicks the media, they are routed to the URL that is attached to the media                            |
| Deep Link     | When the user clicks the media, they are routed to the app screen within the same app that is attached to the media |

> [!INFO]
>
> To track the usage of how many users are using the media, first provide a name for the action you add to your media. ![click\_events](/images/4b/click_events-4b5e28b1.png)

- To align the **Media** to the top or bottom, add any content block, or delete the Media section use the action bar. ![media\_action\_bar](/images/f0/media_action_bar-f0af571c.png)

**Buttons**

- To customize the button that appears on your Pop-up, choose to one or two buttons, adjust the button width, alignment, height, radius, and the bottom margin. ![button\_config](/images/96/button_config-969b7229.png)
- Click the **BUTTON** dropdown to customize the individual buttons. You can change the button color, stroke of the button outline, text, font family, font size, font weight, and button action. You may also [add user property](/mobile/personalization) to personalize the experience for your end user. ![individual\_button](/images/94/individual_button-94577fea.png)

The following are the Button Actions you can configure,

| Button Action | Description                                                                                                           |
| ------------- | --------------------------------------------------------------------------------------------------------------------- |
| Dismiss       | When the user clicks the button, the Pop-up is dismissed from the app screen                                          |
| External Link | When the user clicks the button, they are routed to the URL that is attached to the button                            |
| Deep Link     | When the user clicks the button, they are routed to the app screen within the same app that is attached to the button |

- You can align the Buttons to the top or bottom, add any content block, or delete the Buttons using the action bar. ![button\_action\_bar](/images/6c/button_action_bar-6cbb6f6a.png)

**Layout**

1. On the left, click **Layout** to enable Overlay and the **Close** icon to dismiss the Pop-up.

![2023-02-06\_16-48-23.png](/images/a8/2023-02-06_16-48-23-a8a9c243.png)

> [!INFO]
>
> You can also click **Edit** to do the same.
>
> ![editiconmobile.png](/images/ec/editiconmobile-ec7269d4.png)

- You can change the **Fill Color** of the Overlay and enable your end user to dismiss the Pop-up by clicking the Overlay.
- You can change the color of the Pop-up template and also customize the the position of the **Close** icon, the button size, the background color, and the color of the icon.

![Mobile\_layout config\_popup.png](/images/04/Mobile_layout-config_popup-045ac9c5.png)

1. Click **Done**. ![done\_popup](/images/c1/done_popup-c113ecfc.png)

> [!INFO]
>
> - You can [preview projects on a device](/mobile/preview-projects-on-a-device) before making it live for your end users.
> - After creating and designing the Pop-up, click **Publish** to make the Pop-up live for your end users. For more information on publishing Whatfix Mobile content, see [Publish Whatfix Mobile content](/mobile/publish-whatfix-content).
