Jump to content

Setting site background to white without affecting mobile footer

Recommended Posts

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

Anytime I toggle from page to page, a navy background appears before my background images load. I have the background set to white in my color theme, so I can't understand why this is happening. I had tried this code to resolve:

/* background color white */
:not(.has-background) .section-background {
  background-color: white;
}

.page-section.has-background.white .section-background-overlay {
  background-color: white !important;
}

It seemed to have worked, or at least well enough, but when I viewed the site on mobile, the footer was completely white, removing the navy background I actually wanted there. Please help!

pswrd: Sunshine21!

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

On 3/17/2021 at 11:28 AM, aglase said:

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

Anytime I toggle from page to page, a navy background appears before my background images load. I have the background set to white in my color theme, so I can't understand why this is happening. I had tried this code to resolve:


/* background color white */
:not(.has-background) .section-background {
  background-color: white;
}

.page-section.has-background.white .section-background-overlay {
  background-color: white !important;
}

It seemed to have worked, or at least well enough, but when I viewed the site on mobile, the footer was completely white, removing the navy background I actually wanted there. Please help!

pswrd: Sunshine21!

which template you are using

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.