Jump to content

Full Bleed Background Image for Brine 7.0 Template

Recommended Posts

Hi there!

This is my first time working on a client website on a Squarespace 7.0 template, and I'm having difficulty adding a full-bleed image background to only a specific page.  I believe they are using the Brine template.

Their existing home page has full-bleed images scrolling through.  Now they only want one static image.
Existing home page:  https://www.preminievents.com/home

To create the static image, I added a code under the Advanced settings, but the image is cut off.  I'm also not sure if this is the most practical way to achieve this.  Can you help?  Code is blue below is what I added.  The rest in black is existing code that I kept, to keep the page style.

Quote

<style>
main.Main {
    background-image: url(https://static1.squarespace.com/static/570d4b9e59827eec1255c050/t/63e3c97f1a9025685b3a4922/1675872643944/jroxpremini-0052+%281%29.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;

}
  
    p,h1,h2,h3,h4,h5,h6{
      font-family: LinotypeDidot !important;
      font-weight: 400;
    }
  /*making header transparent*/
  .Header {
    background-color: rgba(255, 255, 255, 0.0) !important;
    position: relative;
 }
  /*changing navigation font color*/
  .tweak-header-primary-nav-hover-style-active .Header-nav .Header-nav-item {
    color: white;
    font-weight: 600;
}   
  
  /*make the page transparent*/
  .Main {
    background-color: rgba(255, 255, 255, 0) !important;
    color:white;
    margin-bottom: -20px;
  }
  /*Change the quote color*/
  .Main h2 {
    color:white;
  }
  /*Take out the banner*/
  .Intro {
    display:none;
  }
    /*make the footer transparent*/
  .Footer {
    background-color: rgba(255, 255, 255, 0) !important;
 }
  .Fotter-bottom {
    display:none;
  }
  .Footer-middle {
    display:none;
  }
  
  /*.sqs-svg-icon--list.social-icon-alignment-center {
    padding-top:12em;
       padding-bottom: 0;
  }*/
  .Footer-blocks {
    padding-top: 24em;
    padding-bottom:0;
  }
    
  /*change the color of the social icons*/
  .social-icons-style-border.social-icons-color-black .sqs-use--icon {
    fill: white;
  }
  .social-icons-style-border.social-icons-color-black .sqs-svg-icon--wrapper
  {
    border-color: white;
  }

  
</style>


Quick glance:

  • Brine 7.0 Squarespace Template
  • Looking for: Static full-bleed background image (to cover header, body, and footer) for specific page only https://www.preminievents.com/home-copy-020623 PW: homecopy
    • Image is currently uploaded but cut off (see attached)
  • Client previously had scrolling images, now only wanting one static image

 

Thank you so much!
Dana

Screen Shot 2023-02-08 at 11.51.48 AM.png

Link to comment

Try adding padding to this code

main.Main {
    background-image: url(https://static1.squarespace.com/static/570d4b9e59827eec1255c050/t/63e3c97f1a9025685b3a4922/1675872643944/jroxpremini-0052+%281%29.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
	padding-bottom: 100px;
}

 

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
  • 2 weeks later...

Hey @tuanphan!

Thank you so much for your help and for responding.  I was able to partially figure out how to show the full image, but I'm running into one final roadblock.  

How do I extend the image all the way down to the footer, so that the social icons "sit" on the base of the image?  Here's what it looks like now:

image.thumb.png.84776e3ac5baa5643f0eb96d58630931.png

 

Thank you,
Dana

Link to comment
On 2/23/2023 at 11:08 PM, danacali4nia said:

Hey @tuanphan!

Thank you so much for your help and for responding.  I was able to partially figure out how to show the full image, but I'm running into one final roadblock.  

How do I extend the image all the way down to the footer, so that the social icons "sit" on the base of the image?  Here's what it looks like now:

image.thumb.png.84776e3ac5baa5643f0eb96d58630931.png

 

Thank you,
Dana

Page is fine now. Did you solve it?

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.