Webflow sync, pageviews & more.
NEW
Answers

How can I hide the "no items found" empty field in Webflow for a second multi-image gallery on certain pages?

To hide the "no items found" empty field in Webflow for a second multi-image gallery on certain pages, you can use custom code within an HTML Embed element.

Here are the steps you can follow:

1. Select the page where you want to hide the "no items found" empty field for the second multi-image gallery.

2. Add an HTML Embed element to the desired location on your page. You can find the HTML Embed element in the Add Panel on the left side of the Webflow Designer.

3. Double-click on the HTML Embed element to open its settings.

4. In the HTML Embed settings panel, you'll see a text area where you can input your custom code. For this scenario, you can use the following code:

```html

```

5. Paste the above code into the custom code text area within the HTML Embed element.

6. Save the changes and preview your page to see if the "no items found" empty field is hidden for the second multi-image gallery on the specified page.

This custom code utilizes CSS to target the elements responsible for displaying the "no items found" empty field, specifically within a rich text element that is dynamically bound. The code sets the display property of the empty field to none, effectively hiding it from view.

Remember to double-check that you've placed the HTML Embed element in the correct location on the page and that you've targeted the appropriate class or identifier for the second multi-image gallery. Adjust the code accordingly if needed.

Note: Custom code solutions may require periodic testing and updates as Webflow's platform evolves.

Rate this answer

Other Webflow Questions