How can I let users switch between two themes?
I want the user to be able to choose between two themes on my site. The first one (let's call it "red" for example) is the default, and the alternative is "blue". I've made a theme switching nav; that by default says "I like red || [switch to blue]". If the user clicks on [switch to blue], I want the page to load an additional stylesheet (blue.css). Most of the styles are the same; there are only like 2 or 3 additional lines of code added to blue.css, so I don't want the user to have to reload an entirely new stylesheet (if that makes sens!) The nav should also change to "[switch to red] || I like blue" I want the site to continue to use the blue stylesheet throughout the user's visit to the site, until they decide to switch back to red. I'd prefer a solution that does not refresh the page, if possible. Any ideas? Thanks!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread