To make the background image take up the entire viewport, you can use a combination of CSS and Webflow features. Here's how you can achieve this:
1. Set the background image: Go to your Webflow designer and select the "body" element in the Navigator panel. In the Style tab, click on the background image field and select your desired image. Choose "Custom" as the position and ensure that the "Don't tile" option is selected.
2. Adjust the size: In the same background image settings, select "100VW" for width and "100VH" for height. This tells the image to take up the entire viewport.
3. Create a section for the navbar: Add a new section to your page and place your navbar inside it. Ensure that the section is positioned correctly within the body element.
4. Set the section position: With the section selected, go to the Style tab and set its position to "Fixed". This allows the section to stay in place while scrolling.
5. Adjust the section dimensions: In the Style tab, set the width to "100%" and the height to a desired value for your navbar. This ensures that the section covers the entire viewport horizontally and leaves space for the navbar vertically.
6. Test and adjust: Preview your website in different viewport sizes to ensure that the background image scales properly and matches the view height as you resize the screen. You may need to make adjustments to the section height or the navbar styling to achieve the desired layout.
By following these steps, you can create a fullscreen background image with the navbar on top in Webflow. Remember to experiment and customize the design to align with your specific requirements and branding.