Jump to content

Have only the header image without page padding/ image fullscreen

Go to solution Solved by tuanphan,

Recommended Posts

Hi,  for our index page we use a lot of whitespace and page padding all around, however, for the actual project pages we would like the first header image to be fullscreen (no whitespace or padding around) and then the rest of the content should be within that page padding again. We work with an Avenue Template and preferably don't want to see any whitespace for the site header/title either if possible. We do want a title + subtitle as an overlay over this image, but this we can manage in the image style settings + spacers I think.

Does anyone know how to fix this?

This page is an example > https://www.burtonhamfelt.nl/projects/#/docklands/

Thank you!

Link to comment
  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
19 hours ago, bhua_2022 said:

exactly what I mean yes! Have it full-size, but only that first header image.

You can use this code to Website > Website Tools > Custom CSS

div#block-5d2c25ad6f83cd7e6881 {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding: 0px !important;
}
body {
    overflow-x: hidden;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.