Yes, you can hide elements based on screen size in Webflow using the built-in responsive visibility settings.
1. Use Display Settings in the Style Panel
- Select the element you want to hide.
- In the Style panel (right sidebar), go to the Display section (under Layout).
- Set the Display value to "None" on the screen size you want the element hidden from.
2. Choose the Right Breakpoint
- Webflow allows styling for multiple screen sizes: Desktop, Tablet, Mobile Landscape, and Mobile Portrait.
- At the top of the Designer, click the device icon to switch between breakpoints.
- Adjust visibility settings independently for each breakpoint to control which views show the element.
3. Inheritance and Overriding Explained
- Visibility settings you apply to larger breakpoints cascade down to smaller ones.
- To hide an element only on smaller screens, make sure it’s visible on Desktop, then go to smaller breakpoints (e.g., Tablet or Mobile) and set Display: None.
4. Use Utility Classes for Reuse (Optional)
- Create custom classes like
.hide-mobile or .hide-desktop: - Apply “Display: None” to the class on a specific breakpoint.
- Then reuse that class on any element you want to behave similarly.
Summary
You can hide elements on different screen sizes in Webflow by using the Display: None setting in the Style panel at each responsive breakpoint, or by creating reusable utility classes. This gives you precise control over what content appears on each device.