To make the hero section in Webflow fill the browser viewport perfectly, you will need to adjust the height settings within the styles panel.
1. Access the Designer
- Open your Webflow project and navigate to the Designer.
2. Select the Hero Section
- Click on the hero section to select it.
3. Set the Height
- In the Styles Panel on the right, locate the Height option.
- Set the Height to 100vh. This ensures that the section will occupy 100% of the viewport height regardless of browser window dimensions.
4. Adjust Padding and Margins (if necessary)
- Check if there are any padding or margins set on the hero section that could affect its fit.
- Adjust or remove any padding/margins to ensure the section truly fills the viewport.
5. Validate Responsiveness
- Preview the site to ensure the hero section adjusts for different viewports.
- Use Webflow's responsive views to check for tablet and mobile.
Summary
To make a hero section fill the viewport perfectly, set its height to 100vh in the Styles Panel. Adjust any spacing issues and ensure to validate responsiveness to confirm the solution works across all devices.