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

Switch Light to Dark Mode

Question

Hello,

I am using Wexley template and I want to know how to use css passing white to dark mode with a simple button?

Anyone could help me?

Thanks a lot!

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0

CSS can't solve that.

You need to some custom js. And it is very time consuming.

I guess so. 😜


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

Hi Tuanphan,

Thank you for the answer!

i'm sad, I thought it was just easy manipulation, switching white background to black, and black font to white...

++

Share this post


Link to post
  • 0

@Ulysse Can you provide a working link to the site so that we can see what you are trying to do? And also, can you explain a little more about why you want to do this? 


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include.
Explore our range of Squarespace Extensions, including the Wishlist, Variant Availability and Datepicker Extension
Note that links in my posts may be affiliate links. Need personal help? 
Book a Squarespace Expert.

Share this post


Link to post
  • 0

OK, so you just want to invert the colours like this? There's nothing complex about that if your colour scheme is b/w. I thought there was some purpose to it, but perhaps not?


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include.
Explore our range of Squarespace Extensions, including the Wishlist, Variant Availability and Datepicker Extension
Note that links in my posts may be affiliate links. Need personal help? 
Book a Squarespace Expert.

Share this post


Link to post
  • 0

Yes, just need simple white and black versus black and white 😉

I saw some purposes but it was working with device settings... 

I just want to click on a moon icon to switch in black and white and invert like in example,

 

Many thanks

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...