Webflow removed the Visibility control feature to improve performance, simplify the Designer interface, and encourage best practices for responsive design. Instead of using visibility settings, Webflow recommends using alternative methods to show/hide elements based on breakpoints.
1. Use Display Settings in Style Panel
- Select an element in the Designer.
- Go to the Style panel and find the Display settings (under “Layout”).
- Set display: none on specific breakpoints (e.g., hide an element on mobile but show it on desktop).
- This method ensures elements are not rendered, improving page load performance.
2. Use Webflow’s Built-in Breakpoints
- Click on the Device icons at the top of the Designer (Desktop, Tablet, Mobile, etc.).
- Adjust styles based on specific breakpoints.
- Elements can have different layouts, sizes, and visibility per breakpoint.
3. Use Combo Classes for Responsive Variations
- Create a base class for an element.
- Add a combo class, e.g.,
section-mobile-hidden
, to adjust styles per breakpoint. - Apply display: none to the combo class only on targeted devices.
4. Use Interactions to Show/Hide Elements
- Use Webflow Interactions to trigger visibility changes based on viewport width or user actions.
- Example: A completely hidden menu on mobile that appears via an interaction.
5. Use Custom CSS in Embed Code
- Add a custom CSS embed inside the project:
- Example:
``` ``` - Apply the
hide-on-mobile
class to elements inside Webflow.
Summary
Webflow removed Visibility control to improve performance and encourage responsive design best practices. Use display settings, breakpoints, combo classes, interactions, or custom CSS to manage element visibility across devices.