Source: https://nishanth-fern-test.docs-staging.pageloop.ai/desktop/remove-a-component-from-a-pop-up-template

# Remove a component from a Pop-up template

There are two approaches to remove a component from a Pop-up template:

The simplest approach is to use the Visual Editor, which removes a component from a Pop-up directly using the UI without the need for to edit code.

The other option is to use the code view to remove a component from a Pop-up. The code view gives access to the template's HTML and CSS code to make advanced customization. The code view is available for any template that you select. For more information on Pop-up templates, see [Choose the Pop-up Template](https://support.whatfix.com/studio/docs/choosing-the-pop-up-template).

Remove a component from a Pop-up using one of the following two ways:

Remove a component from a Pop-up template using the Visual Editor

Visual Editor enables you to remove certain components that you do not wish to use in a template directly using the UI without needing to edit the HTML or CSS code.

Use the following steps to remove a component using the Visual Editor:

1. On the Whatfix Guidance dashboard, click **Widgets**. ![ia\_left\_nav\_widgets](/images/d4/ia_left_nav_widgets-d468b7f8.png)

2. Click **Pop-ups**. ![ia\_widget\_popups](/images/f2/ia_widget_popups-f2f9e0ad.png)

3. Hover your cursor over the Pop-up segment you want to configure, and then click the **Edit** icon. ![CLM\_DB\_Click\_edit\_icon.png](/images/7f/CLM_DB_Click_edit_icon-7f5dddac.png)

4. Click the component you want to remove.

![](/images/de/image-1700550630876-deeee45f.png)

5. On the **Image Froala Toolbar,** click the **Remove Component** icon.

![](/images/6b/remove-6b051994.png)

NoteThe component gets removed from the Pop-up.

Remove a component from a Pop-up template using the code view

Using the code view, certain components that you do not wish to use in a template can be removed.

Use the following steps to remove a component using the code view:

1. On the Whatfix Guidance dashboard, click **Widgets**. ![ia\_left\_nav\_widgets](/images/d4/ia_left_nav_widgets-d468b7f8.png)

2. Click **Pop-ups**. ![ia\_widget\_popups](/images/f2/ia_widget_popups-f2f9e0ad.png)

3. Hover your cursor over the Pop-up segment you want to configure, and then click the **Edit** icon. ![CLM\_DB\_Click\_edit\_icon.png](/images/7f/CLM_DB_Click_edit_icon-7f5dddac.png)

4. Click the **code view** icon to access the template code.![](/images/d1/image-1720173867290-d1c0eefe.png)

5. Remove the component code you want to exclude from the template.![](/images/9d/HTML_View-9dd7fccd.png)

Once you've removed the code from a component, click the **play** icon to preview the changes.
