[pmwiki-users] How to change the background color for a given group without defining another skin ?
Roman
romat2 at gmail.com
Tue Apr 17 05:14:10 CDT 2007
On 4/17/07, Christophe David <pmwiki at christophedavid.org> wrote:
> Could somebody please recommend a clean way to change the background color
> of the pages for a given group without defining a new skin ?
>
> Is it possible by setting a variable in "Group.php" ?
Just put
$HTMLStylesFmt[] = ' body { background-color:#f4f4f4; } ';
to Group.php or
body {
background-color:#f4f4f4;
}
to pub/css/Group.css.
Or you can set it in config.
if ($group == 'CertainGroup')
{
$HTMLStylesFmt[] = ' body { background-color:#f4f4f4; } ';
}
Roman
More information about the pmwiki-users
mailing list