Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Background colour dropping out despite using advanced code injection


Aitch

Question

Hi,

I have set a white background on some of the pages on my clients site, by using the following in the page Advanced code injection:

<style>
.Main {
  background-color: hsl(0,0%,100%); !important;
}
</style>

But sometimes the white drops out and the backgrounds revert back to the main background page colour. If I cut and then paste the code back in, it works again.  But I don't want to have to keep doing that of course!

Any ideas?

Thanks everyone.

 

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

You should place the url of your site to check

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 0
On 11/18/2020 at 6:51 PM, Aitch said:

Hi @bangank36 would you have any ideas of why this drop out would happen. Thanks.

 

Home > Design > Site Styles > Disable Ajax Loading

Email me if you have need any help (free, of course.). Answer within 24 hours.

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