You cannot create a completely separate mobile site in Webflow with different structure, code, and images, but you can achieve similar results using responsive design techniques and conditional visibility.
1. Webflow Uses Responsive Design, Not Separate Mobile Sites
- Webflow is built on the principle of responsive design, meaning the same HTML structure is styled differently using CSS media queries for various devices (desktop, tablet, mobile).
- It does not support separate mobile domains or deliver totally distinct HTML/CSS/JS based on device.
2. You Can Use Conditional Visibility for Elements
- You can create mobile-only versions of elements (e.g., a different nav menu or section layout) and use Webflow’s display settings to control when they appear.
- Select the element, go to the Settings panel, and use the Device visibility toggles (e.g., hide on Desktop, show on Mobile Landscape/Portrait).
- This lets you serve different content or layouts per device, but all the code still loads for all devices, affecting performance.
3. Use Different Images for Mobile Devices
- You can create mobile-optimized images by duplicating the image element and showing/hiding based on device type.
- Alternatively, use the Responsive Image feature in Webflow, which automatically serves appropriately sized images using the
srcset
attribute.
4. Structure Must Be Shared Across Devices
- You cannot define a completely different page structure, HTML elements, or CSS classes just for mobile—everything must adapt within a single design canvas.
- To dramatically alter layout, consider using Flexbox or Grid combined with Media Queries in Webflow’s style settings.
5. Workarounds (Not Recommended)
- Hosting a separate “mobile-only” version of your site on a subdomain like
m.yoursite.com
is not supported natively by Webflow. - You would need to create a duplicate Webflow project, design it specifically for mobile, and use complex JS or external tools to redirect mobile traffic—this is inefficient and negatively impacts SEO.
Summary
You cannot create a completely separate mobile version in Webflow with different code or structure. Instead, use responsive design, conditional visibility, and device-specific styling to adapt your site for mobile devices within a single Webflow project.