Webflow sync, pageviews & more.
NEW

What is the reason for the removal of visibility control in Webflow and what alternative options are available for displaying different sections on desktop, tablet, and mobile?

TL;DR
  • Use Display settings in the Style panel to set display: none on specific breakpoints.
  • Adjust styles per breakpoint using Webflow’s built-in breakpoints (Desktop, Tablet, Mobile).
  • Apply combo classes (e.g., section-mobile-hidden) to manage display settings per device.
  • Use Webflow Interactions to control visibility based on viewport width or user actions.
  • Add custom CSS in an embed code for advanced control over element visibility.

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.

Rate this answer

Other Webflow Questions