[pmwiki-users] different background image for each category sidebar?

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 30 12:41:54 CST 2006


On Fri, Oct 27, 2006 at 04:04:25AM -0700, Nicholas Buttle wrote:
> I've created sidebars for each category/group I have. 
> I'm wanting to distinguish the sidebar by assigning a
> custom background image for each sidebar.
> 
> Is this possible?

Yes -- just create a CSS file for each category/group
you want to customize.  For example, with the 'pmwiki' skin
one would use the following to get a light-pink color:

    #wikileft { background-color:#ffdddd; }

Place this line in pub/css/SomeGroup.css to cause it to
take effect for all pages in SomeGroup, or in
pub/css/Category.XYZ.css to cause it to take effect
for the Category.XYZ page.

Hope this helps,

Pm




More information about the pmwiki-users mailing list