How to make a transparent header that overlaps with your hero image in Wix Studio

I’ve seen a few people asking how to create a transparent header that overlaps with your hero image, but haven’t seen a good step-by-step solution in any responses, so thought this might be useful for those wishing to create this look.

My test site which I’ll be launching soon, shows an example of what I’m talking about:

If this is the look you’re going for, here is a detailed step-by-step process to achieve it. Note: I’ve found that the order matters, as does ensuring the right layer is selected, so try and follow the steps as precisely as possible for the best results.

  1. Select your header (with a mouse-click).
  2. Open the ‘Inspector’ (the right toolbar) and make note of the height of you header (let’s use 50px for this example).
  3. Create a new section under your header using the ‘Add Section’ button (appears when you hover on the centre of the bottom border of your header.
  4. Open the ‘Layers’ panel on the left toolbar and ensure the newly added ‘Section’ is selected - this will be your hero image section).
  5. Open the ‘Inspector’ (right toolbar) and set the height dimensions of the section to your desired height (for this example let’s say 500px), and under ‘Responsive behavior’ ensure that ‘Apply max width’ is NOT selected (you’ll likely need to turn this off).
  6. With the section still selected, open the ‘Add Elements’ panel on the left toolbar, then go to ‘Quick Add’ and add a ‘Container’.
  7. Open the ‘Layers’ panel on the left toolbar and ensure the newly added ‘Container’ is selected.
  8. Open the ‘Inspector’ (right toolbar) and manually adjust the dimensions of the container to the following (IMPORTANT: do not stretch the container!):
  9. X = 0px (this is a fixed value that ensures it is aligned to the left edge of the browser).
  10. Y = -50px (edit this value to your needs - it is a negative value to the height of your header, so in this example -50px).
  11. W = 1265px (this is a fixed value and is the pixel equivalent of 100% width)
  12. H = 550px (edit this value to your needs - it is your desired hero section height + your header height, so in this example, 500px + 50px = 550px).
  13. With the ‘Container’ still selected, open the ‘Add Elements’ panel on the left toolbar, then go to ‘Quick Add’ and add an ‘Image’.
  14. Select the image with a mouse-click and ‘Stretch’ it, using the button in the top right-hand corner of the image.
  15. Change the image to your desired background image.

I hope this helps some people achieve this look :slight_smile:

1 Like