Ulysse 0 Posted November 7 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
0 tuanphan 6,139 Posted November 9 CSS can't solve that. You need to some custom js. And it is very time consuming. I guess so. 😜 Send me a message if you have any questions | View my service if you need more support View 4200+ Custom Code for Squarespace How to Setup Password & Share Site URL How to find Page ID, Block ID, Section ID Squarespace 7.1 CSS List Share this post Link to post
0 Ulysse 0 Posted November 12 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 paul2009 28,488 Posted November 12 @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? If a response has helped you, please give thanks using the button.Need personalised help? I'm a professional Developer who works with Designers internationally. You can book me via my company's website. www.sf.digital Share this post Link to post
0 Ulysse 0 Posted November 12 Hello Paul, I have an example here http://www.cyrildosnon.com/#work I know it isn't sqarespace, but i thought it was possible to switch dark/light mode with a button like the moon/sun one on this website Thank you Share this post Link to post
0 paul2009 28,488 Posted November 12 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? If a response has helped you, please give thanks using the button.Need personalised help? I'm a professional Developer who works with Designers internationally. You can book me via my company's website. www.sf.digital Share this post Link to post
0 Ulysse 0 Posted November 12 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
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