Jump to content

How to make section background image fixed so that no part of it is being hidden by the edge of the screen nor the site header?

Recommended Posts

Site URL: https://www.therufflifedallas.com

In the first section of the homepage, I want the background image to do two things: 1 - the top of the image starts at the bottom of the site header and does NOT sit underneath it like it does now, and 2 - I want the width to be fixed to the screen size while maintaining aspect ratio. I have tried numerous codes to accomplish these things and can't seem to figure it out - help please!

Password: faf8wzh8ckx-cwg_UZR

Edited by BreanneP
Adding website password.
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Design > Custom CSS

body.homepage article section:first-child {
    padding-top: 0px !important;
}
body.homepage header#header {
    background-color: transparent;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.