How does multiple themes work on a website?
I have
themeRED.css e themeBlue.css
Do I have to write to the bank the css location? or is there an easier way?
How does multiple themes work on a website?
I have
themeRED.css e themeBlue.css
Do I have to write to the bank the css location? or is there an easier way?
You do not necessarily need to save on a bank account.
You can use javascript to check which theme is used and load it.
Here is an answer on how to load CSS by Javascript:
Save the theme name in the database and at the time of uploading the CSS file use the user's theme string to load the css (s) with that theme.
Ex: "theme1"
HTML:
<link rel="stylesheet" src="temas/tema1/geral.css" />
Just like JQuery UI does with its different themes ... without mystery. :)