[pmwiki-users] Conditional CSS mark-up
design at softflow.co.uk
Thu Mar 14 18:17:31 CDT 2013
Thursday, March 14, 2013, 8:34:59 PM, you wrote:
> Is there such a thing as conditional CSS mark-up?
No. Not unless the skin template gets rewritten to load a css file as
php. And that gets complicated.
> Or is there another method to change it only for that particular css file?
No simple way. Best is really to change the attributes in the
c-choc.css file. If you really don't want to change them there, you
could create your own custom color css file.
Copy c-choc.css to c-choc-2.css for instance in the same folder
and change any attributes of css elements in this new file.
Then add to config.php
$PageColorList['choc'] = 'c-choc-2.css';
This points the 'choc' color theme to the new file and overrides the
default setting for 'choc' in Triad's skin.php.
Hope this helps!
mailto:design at softflow.co.uk
More information about the pmwiki-users