• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CSS question? possibly

sparkle

Senior member
Here is my site I need a little help. What would be the easiest way for me to allow visitors to change the color scheme of the whole site.

For example, I want to have 3 tabs "green" "blue" "yellow" and if the tab was clicked, all of the colors would change to reflect this.

I don't want to have 3 sets of pages for everything. I would like to be able to make one page, that can change.

Is this something that can be done with css?

Thanks!
 
I would create classes for the different elements and then create a dynamic CSS page with PHP, which is what I do for my site. Then create a variable for each separate color on your site; if $color == "blue", set $c[0] to "#ff0000" $c[1] to "#993300", etc. and echo em out in your CSS page.
 
or you can use JavaScript and use cookies as well...then it stays when the visitor comes back...
 
Back
Top