Jump to content

Changing Background of a section between Colour Themes

Recommended Posts

Site URL: https://designedbyjake.squarespace.com/

I'm working on a concept portfolio site, and learning about adding custom coding for specific purposes. I added a dark mode plugin, but my home page section background is the Squarespace responsive gradient, which obviously doesn't use colour theme styles and therefore isn't affected by the dark mode switch. I wanted to ask if there was a way to change the colours of the responsive gradient when the dark mode is activated?

 

Hopefully that question makes sense! Password to site is 'helpmepls'

Link to comment
  • Replies 5
  • Views 523
  • Created
  • Last Reply

Top Posters In This Topic

On 10/2/2024 at 8:21 PM, jakesamwalker said:

Thank you for responding! This could work. Just curious, how do you mean 'add 2 of the same section' ? As in, duplicate the section and place below the first, with new colour gradients? 

My ideal is use 2 sections with different gradient, then use CSS to show 1 on dark mode, show another on lightmode

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
On 10/11/2024 at 7:23 PM, jakesamwalker said:

This could work! Can you send me the code for this?

You need to add it first, because no way to know ID unless you add it.

If site is live and you can't do this, you can duplicate site & do there

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.