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, providing greater flexibility and interactivity in designing and presenting content. * * * ## 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.!(https://assets.patientcopilot.ai/85774283a63d706f.png) #### 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!(https://assets.patientcopilot.ai/416e35a09e9220f8.png) #### 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.!(https://assets.patientcopilot.ai/c894f9acb451b308.png) #### 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.!(https://assets.patientcopilot.ai/27b51fe430798d54.png) * * * ## 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.!(https://assets.patientcopilot.ai/6a60f249a6fe30c5.png) #### 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.!(https://assets.patientcopilot.ai/336084e3c9ce377b.png) #### Step 3: Choose the Button In the funnel or website builder, choose the Button element that you want to use.!(https://assets.patientcopilot.ai/85774283a63d706f.png) #### 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.!(https://assets.patientcopilot.ai/416e35a09e9220f8.png) #### 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.!(https://assets.patientcopilot.ai/4375e2bde79891bd.png) #### 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.!(https://assets.patientcopilot.ai/12e1495fd4284527.png) * * * 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.!(https://assets.patientcopilot.ai/1006f1aa0e9c0a78.png)