Forums

[Theme: The Erudite] How to offer visitors the option to change the css to dark mode. (2 posts)

  1. GustavoSartori
    Member
    Posted 4 months ago #

    HI guys!

    I'm working in a site with The Erudite theme.
    The site is of a girl with vision problems and uses the theme because of the contrast. We would like to offer the visitor (who also have vision problems) the option to switch between light and dark mode.

    Is it possible?

    http://wordpress.org/extend/themes/the-erudite/

  2. kyber
    Member
    Posted 4 months ago #

    You need theme switcher code or a plugin. A google will provide, but you will probably find this a good place to start: wordpress article on theme switching.

    However, I suspect the dark/light schemes are exactly the same theme with a simple CSS tweak. Look at the css file in the admin panel to see, you can include some very simple php code to set the appropriate switch I am sure.

Reply

You must log in to post.

About this Topic