How can I overlay an image on my website with a navigation bar using Webflow?

TL;DR
  • Add a Navbar at the top, a Section with a background image beneath it, and set the image Section’s position to Relative and Navbar’s position to Absolute or Fixed.  
  • Adjust Z-index to layer the Navbar above the image, set Section height (e.g., 100vh), and optionally make the Navbar background transparent to reveal the image below.

To overlay an image beneath a navigation bar in Webflow, you need to structure and style your layout using Webflow’s Designer panel and positioning tools.

1. Add the Navbar Component

  • Drag the "Navbar" component from the Add panel into the canvas, preferably as the first section in the body.
  • This will automatically include a container with links and a brand/logo area.

  

2. Add a Section for the Background Image

  • Drag a Section just below the Navbar in the Navigator panel.
  • Select the Section and go to the Style panel.
  • Under Backgrounds, choose Image, click Choose Image, and upload/select your desired image.
  • Adjust background settings:
  • Position: Center Center
  • Repeat: No Repeat
  • Size: Cover

3. Move the Image Section Behind the Navbar

  • Select the image Section (or image element).
  • Set Position to Relative.
  • Set the Navbar’s Position to Absolute – Top or Fixed – Top depending on whether you want it to scroll with the page.
  • Set the Navbar’s Z-index to something high like 10 and the Image Section’s Z-index to a lower number like 1.

4. Adjust Section Height and Padding

  • Set a fixed height (e.g., 100vh) for the Image Section if you want it to fill the screen.
  • Optionally adjust top padding of the image Section to avoid the navbar overlapping important content underneath.

5. Make Navbar Background Transparent (Optional)

  • Select the Navbar.
  • In the Style panel, set Background Color to Transparent to allow the image underneath to show through.

Summary

To overlay an image with a navigation bar in Webflow, add the Navbar at the top, insert an image section beneath it, and use positioning and Z-index settings to ensure the navbar sits above the image. Optionally make the navbar background transparent for a layered effect.

Rate this answer

Other Webflow Questions