Addons:Theme

From GExtension Wiki
Revision as of 09:19, 21 May 2017 by Ibot3 (talk | contribs) (Created page with "All themes must be a PHP file ending with ".css.php". To process the file it's necessary to add the following line to the code: header('Content-type: text/css'); The GET para...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

All themes must be a PHP file ending with ".css.php". To process the file it's necessary to add the following line to the code:

header('Content-type: text/css');

The GET parameter "color" contains the current style color ('#12345' will be '12345') if you want to use it.