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
  • Views 530
  • Created
  • Last Reply
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 picker form field)
💫 Gallery block 7.1 workaround
🥳 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.