Toggle Page Color
Hello! Is there a way to create a button that toggles the background color of a page? I'd like to change a white page to a black page using a button. I I know that you can change the page color using the "Branding" section but I would like visitors the option to change the page color themselves (for reading at night). Is this possible?
Unfortunately, we can’t assist with custom code support for something like this since it’s not native to Semplice, and unfortunately we’re too small of a team to offer customized support (we’re a small crew!)
That being said, you may be able to use some simple jQuery to set a click event on a Semplice button or link, and then change the ‘body’ (or any section of your page with a custom class in your Section Styles) background color. You can follow this link for example code:
I’m sorry I can’t assist beyond this, but hope it helps.