Relative Content

Tag Archive for javascriptjquerycss

How can I save the selected theme in localhost on my website?

So I currently have a website designed with two themes, the layout is exactly the same but many elements were changed by color and design, as well as a new site image displayed. I achieved this simply by creating two css files. The default layout is set as the style for all visitors, and the second is achieved by creating a link with a script to switch css applied to the site by clicking on it, which I created as a button that is itself styled specifically in css. The buttons allow one to switch to the second theme and back to the default theme, both buttons display regardless of the chosen theme. The buttons are next to each other, there is no toggle switch or image or dropdown list, they appear as two links. Here are the codes for those.