# Hide and Show Elements on Button Click (Funnels & Websites)

> Introducing a powerful enhancement to our platform with the addition of the "Show/Hide Elements on Click" feature. This new button action empowers users to dynamically hide or reveal hidden elements on both mobile and desktop views.

- Source: https://docs.ghlcustomercare.com/docs/sites/funnels-and-websites/hide-and-show-elements-on-button-click-funnels-websites
- Section: Sites / Funnels and Websites
- Reading time: 3 min
- Images: 12, each explained below

---
Introducing a powerful enhancement to our platform with the addition of the "Show/Hide Elements on Click" feature. This new button action empowers users to dynamically hide or reveal hidden elements on both mobile and desktop views, providing greater flexibility and interactivity in designing and presenting content.

---

**TABLE OF CONTENTS**

-   [Overview of Hide/Show Elements on Button Click](#overview-of-hide-show-elements-on-button-click)
-   [How to Hide Elements on a Button Click](#how-to-hide-elements-on-a-button-click)
-   [How to Show Elements on a Button Click](#how-to-show-elements-on-a-button-click)
-   [Editing Hidden Elements](#editing-hidden-elements)

---

## **Overview of Hide/Show Elements on Button Click**

Users can add an interactive layer to their designs by hiding or revealing hidden elements upon a click event. This functionality enhances user engagement and allows for more dynamic and user-friendly page interaction.

![Overview of Hide/Show Elements on Button Click (image 1 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155016827693/original/GHvFa800a2sgDhIy2-DyynGFwuhNtjPSSQ.gif)

**Overview of Hide/Show Elements on Button Click (image 1 of 12)**

This animation appears in the "Overview of Hide/Show Elements on Button Click" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Users can add an interactive layer to their designs by hiding or revealing hidden elements upon a click event. This functionality enhances user engagement and allows for more dynamic and user-friendly page interaction. Immediately after, the guide continues: Add an interactive layer to designs by hiding elements when a button is clicked.
- What to click: Users can add an interactive layer to their designs by hiding or revealing hidden elements upon a click event. This functionality enhances user engagement and allows for more dynamic and user-friendly page interaction.
- Next: Add an interactive layer to designs by hiding elements when a button is clicked.

---

## **How to Hide Elements on a Button Click**

Add an interactive layer to designs by hiding elements when a button is clicked. 

**Important:** In order to show an element, that element must first be hidden. If no elements are shown in the **Show Elements dropdown**, you must first hide an element.

#### **Step 1:** Choose the Button

In the funnel or website builder, choose the **Button** element that you want to use.

![Step 1: Choose the Button (image 2 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443023/original/t79cLrkg8_o2_Wr8VytkCiYc-pqddVhFxA.png)

**Step 1: Choose the Button (image 2 of 12)**

This screenshot appears in the "Step 1: Choose the Button" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: In the funnel or website builder, choose the Button element that you want to use. Immediately after, the guide continues: On the right side of the screen, you'll find the element settings. Under General, scroll all the way down to Button Actions.
- What to choose: In the funnel or website builder, choose the Button element that you want to use.
- Controls: Button
- Next: On the right side of the screen, you'll find the element settings. Under General, scroll all the way down to Button Actions.

#### **Step 2:** Navigate to Button Actions

On the right side of the screen, you'll find the element settings. Under **General**, scroll all the way down to **Button Actions.**

In the Link To dropdown, select **Hide & Show Elements**

![Step 2: Navigate to Button Actions (image 3 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443161/original/jhbFosfHIBKJdcYbXg6ZWFrgt54P4buGoQ.png)

**Step 2: Navigate to Button Actions (image 3 of 12)**

This screenshot appears in the "Step 2: Navigate to Button Actions" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: In the Link To dropdown, select Hide & Show Elements. Immediately after, the guide continues: Click Hide Elements to open a dropdown listing all elements in the site page. Choose the element or elements that you'd like to hide when the button is clicked. You can choose an element, a section, a column, or column rows.
- What to choose: In the Link To dropdown, select Hide & Show Elements
- Controls: General, Button Actions., Hide & Show Elements
- Next: Click Hide Elements to open a dropdown listing all elements in the site page. Choose the element or elements that you'd like to hide when the button is clicked. You can choose an element, a section, a column, or column rows.

#### **Step 3:** Select Element to Hide

Click **Hide Elements** to open a dropdown listing all elements in the site page. Choose the element or elements that you'd like to hide when the button is clicked. You can choose an element, a section, a column, or column rows.

![Step 3: Select Element to Hide (image 4 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443284/original/k6pr-gDTp6oF4BH2bEbAwFY_TgaZAAUx5w.png)

**Step 3: Select Element to Hide (image 4 of 12)**

This screenshot appears in the "Step 3: Select Element to Hide" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Click Hide Elements to open a dropdown listing all elements in the site page. Choose the element or elements that you'd like to hide when the button is clicked. You can choose an element, a section, a column, or column rows. Immediately after, the guide continues: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website.
- What to choose: Click Hide Elements to open a dropdown listing all elements in the site page. Choose the element or elements that you'd like to hide when the button is clicked. You can choose an element, a section, a column, or column rows.
- Controls: Hide Elements
- Next: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website.

#### **Step 4:** Save Changes

Once done choosing which ones to hide, click the **Save** button to save your changes or the **Preview** button to preview and test your funnel or website.

![Step 4: Save Changes (image 5 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443841/original/OYZG839cxFEys-ueO7YQTtgCWeCIs5t8Hg.png)

**Step 4: Save Changes (image 5 of 12)**

This screenshot appears in the "Step 4: Save Changes" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website. Immediately after, the guide continues: Similarly, you can reveal hidden elements when a button is clicked.
- How to confirm: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website.
- Controls: Save, Preview
- Next: Similarly, you can reveal hidden elements when a button is clicked.

---

## **How to Show Elements on a Button Click**

Similarly, you can reveal hidden elements when a button is clicked.

#### **Step 1:** Select Element to be Hidden

Select an element you want to "Show" from a "Hidden" state. In the left-side settings, navigate to the **Styles** tab then scroll down to **Visibility.**

![Step 1: Select Element to be Hidden (image 6 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443524/original/mRF1EVBn3ga7hXU6AHmVI0cUkGe8EL_nfw.png)

**Step 1: Select Element to be Hidden (image 6 of 12)**

This screenshot appears in the "Step 1: Select Element to be Hidden" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Select an element you want to "Show" from a "Hidden" state. In the left-side settings, navigate to the Styles tab then scroll down to Visibility. Immediately after, the guide continues: Click on each mobile and desktop visibility buttons to "hide" the elements in both views. When hidden, the icons will show as gray.
- What to choose: Select an element you want to "Show" from a "Hidden" state. In the left-side settings, navigate to the Styles tab then scroll down to Visibility.
- Controls: Styles, Visibility.
- Next: Click on each mobile and desktop visibility buttons to "hide" the elements in both views. When hidden, the icons will show as gray.

#### **Step 2:** Hide Element

Click on each mobile and desktop visibility buttons to "hide" the elements in both views. When hidden, the icons will show as gray.

![Step 2: Hide Element (image 7 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443568/original/5rTzWTU7YMOQ3YuTMUhwLHmsIGtcgB-PLA.png)

**Step 2: Hide Element (image 7 of 12)**

This screenshot appears in the "Step 2: Hide Element" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Click on each mobile and desktop visibility buttons to "hide" the elements in both views. When hidden, the icons will show as gray. Immediately after, the guide continues: In the funnel or website builder, choose the Button element that you want to use.
- What to click: Click on each mobile and desktop visibility buttons to "hide" the elements in both views. When hidden, the icons will show as gray.
- Next: In the funnel or website builder, choose the Button element that you want to use.

#### **Step 3:** Choose the Button

In the funnel or website builder, choose the **Button** element that you want to use.

![Step 3: Choose the Button (image 8 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443023/original/t79cLrkg8_o2_Wr8VytkCiYc-pqddVhFxA.png)

**Step 3: Choose the Button (image 8 of 12)**

This screenshot appears in the "Step 3: Choose the Button" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: In the funnel or website builder, choose the Button element that you want to use. Immediately after, the guide continues: On the right side of the screen, you'll find the element settings. Under General, scroll all the way down to Button Actions.
- What to choose: In the funnel or website builder, choose the Button element that you want to use.
- Controls: Button
- Next: On the right side of the screen, you'll find the element settings. Under General, scroll all the way down to Button Actions.

#### **Step 4:** Navigate to Button Actions

On the right side of the screen, you'll find the element settings. Under General, scroll all the way down to **Button Actions.**

In the Link To dropdown, select **Hide & Show Elements.**

![Step 4: Navigate to Button Actions (image 9 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443161/original/jhbFosfHIBKJdcYbXg6ZWFrgt54P4buGoQ.png)

**Step 4: Navigate to Button Actions (image 9 of 12)**

This screenshot appears in the "Step 4: Navigate to Button Actions" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: In the Link To dropdown, select Hide & Show Elements. Immediately after, the guide continues: Click Show Elements to open a dropdown listing all hidden elements in the site page. Choose the element or elements that you'd like to show when the button is clicked. You can choose an element, a section, a column, or column rows.
- What to choose: In the Link To dropdown, select Hide & Show Elements.
- Controls: Button Actions., Hide & Show Elements.
- Next: Click Show Elements to open a dropdown listing all hidden elements in the site page. Choose the element or elements that you'd like to show when the button is clicked. You can choose an element, a section, a column, or column rows.

#### **Step 5:** Select Element to Show

Click **Show Elements** to open a dropdown listing all hidden elements in the site page. Choose the element or elements that you'd like to show when the button is clicked. You can choose an element, a section, a column, or column rows.

**Note**: If no elements are shown in the **Show Elements dropdown**, you must first hide an element.

![Step 5: Select Element to Show (image 10 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443776/original/38xyjPc5JH-wXMdehq4uGE1RSYjKZiEa5g.png)

**Step 5: Select Element to Show (image 10 of 12)**

This screenshot appears in the "Step 5: Select Element to Show" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Note: If no elements are shown in the Show Elements dropdown, you must first hide an element. Immediately after, the guide continues: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website.
- What to choose: Note: If no elements are shown in the Show Elements dropdown, you must first hide an element.
- Controls: Show Elements, Note, Show Elements dropdown
- Next: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website.

#### **Step 6:** Save Changes

Once done choosing which ones to hide, click the **Save** button to save your changes or the **Preview** button to preview and test your funnel or website.

![Step 6: Save Changes (image 11 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155058443809/original/s5IhrbPiEL45pzSFwx2IySKOFIu4XMKgBg.png)

**Step 6: Save Changes (image 11 of 12)**

This screenshot appears in the "Step 6: Save Changes" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website. Immediately after, the guide continues: If you've accidentally hidden an element from both desktop and mobile views, you won’t be able to see or click it on the canvas—but you can still access and edit it using the Layers panel in the builder.
- How to confirm: Once done choosing which ones to hide, click the Save button to save your changes or the Preview button to preview and test your funnel or website.
- Controls: Save, Preview
- Next: If you've accidentally hidden an element from both desktop and mobile views, you won’t be able to see or click it on the canvas—but you can still access and edit it using the Layers panel in the builder.

---

## **Editing Hidden Elements**

If you've accidentally hidden an element from both desktop and mobile views, you won’t be able to see or click it on the canvas—but you can still access and edit it using the Layers panel in the builder.

1.  **Open the Layers Panel**  
    In the top left of the Funnel or Website Builder, click the **Layers** icon (stacked layers). This will open a list of all the elements in your section/page, including hidden ones.
    
2.  **Find the Hidden Element**  
    Scroll through the list to locate the element you hid. It may appear dimmed or with an "eye" icon indicating it’s not visible on either view.
    
3.  **Select the Element**  
    Click the element's name in the list to select it. The element will now be highlighted in the builder, and its settings panel will appear.
    
4.  **Restore Visibility**  
    With the element selected, click the **visibility toggle (eye icon)** in the top bar to turn it back on for desktop and/or mobile.
    

![Editing Hidden Elements (image 12 of 12)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155045152011/original/rQIdpQimPLgnlcYPpS4Jc9WiBloXE7h4qw.png)

**Editing Hidden Elements (image 12 of 12)**

This screenshot appears in the "Editing Hidden Elements" section of "Hide and Show Elements on Button Click (Funnels & Websites)". The text alongside this image reads: Open the Layers Panel In the top left of the Funnel or Website Builder, click the Layers icon (stacked layers). This will open a list of all the elements in your section/page, including hidden ones. Find the Hidden Element Scroll through the list to locate the element you hid. It may appear dimmed….
- Where to go: Open the Layers Panel In the top left of the Funnel or Website Builder, click the Layers icon (stacked layers). This will open a list of all the elements in your section/page, including hidden ones. Find the Hidden Element Scroll through the list to locate the element you hid. It may appear dimmed or with an "eye" icon indicating it’s not visible on either view. Select the Element Click the element's name in the list to select it. The element will now be highlighted in the builder, and its settings panel will appear. Restore Visibility With the element selected, click the visibility toggle (eye icon) in the top bar to turn it back on for desktop and/or mobile.
- Controls: Open the Layers Panel, Layers, Find the Hidden Element, Select the Element, Restore Visibility, visibility toggle (eye icon)

Full procedure:

1. Open the Layers Panel In the top left of the Funnel or Website Builder, click the Layers icon (stacked layers). This will open a list of all the elements in your section/page, including hidden ones.
2. Find the Hidden Element Scroll through the list to locate the element you hid. It may appear dimmed or with an "eye" icon indicating it’s not visible on either view.
3. Select the Element Click the element's name in the list to select it. The element will now be highlighted in the builder, and its settings panel will appear.
4. Restore Visibility With the element selected, click the visibility toggle (eye icon) in the top bar to turn it back on for desktop and/or mobile.

---

Documentation for GHL Customer Care. Support: support@ghlcustomercare.com