[pmwiki-users] Conditional CSS mark-up
David Sovinski
aslan at aslandata.com
Sat Mar 16 07:28:30 CDT 2013
Thank you for the advice. That was exactly what I needed.
Dave
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
> (pub/skins/triad/css/),
> 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!
>
> Hans
> mailto:design at softflow.co.uk
> www.softflow.co.uk
>
>
--
David Sovinski
ASLAN Data Services, Inc.
507-867-0063
More information about the pmwiki-users
mailing list