Change Contrast Button

Permalink
Hi!

I have to turn an old website into a modern and responsive concrete5 one. On the original site, there is a button that turns the whole website's background black and the text yellow for easier reading. I attached screenshots for visualization.

Do you have suggestions on how I could manage to do something similar?

Thank you!

2 Attachments

 
JohntheFish replied on at Permalink Reply
JohntheFish
An indirect solution, this addon allows you to customize the editing interface for best practices in contrast for accesibility.
https://www.concrete5.org/marketplace/addons/mrkdilkington-customize...
monikac replied on at Permalink Reply
Thank you, it is a great add-on, but I think its is for edit mode only.
I would need something for the live website, so that viewers with impaired vision can read the content better by clicking on a button that changes the contrast of the website.
mnakalay replied on at Permalink Reply
mnakalay
That tool is most likely just a button with a one line JS script adding and removing a class name to the HTML or body element. I don't think you need a read-made block for that especially if you have the original webiste with the original code on it.
monikac replied on at Permalink Reply
Oh that simplifies things, you are right, thank you!