[pmwiki-users] Conditional CSS mark-up
aslan at aslandata.com
Sat Mar 16 07:28:30 CDT 2013
Thank you for the advice. That was exactly what I needed.
On 3/14/2013 6:17 PM, Hans Bracker wrote:
> Hello David,
> 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
ASLAN Data Services, Inc.
More information about the pmwiki-users