[pmwiki-users] Sidebars per Group

Patrick R. Michaud pmichaud at pobox.com
Sat Aug 19 17:20:07 CDT 2006


On Sat, Aug 19, 2006 at 01:27:37PM -0500, Little, Charles wrote:
> How do I change the color of the links in a Group.SideBar?  What CSS
> file/attribute do I have to edit?

If you're using the PmWiki standard skin, then you can do it
with pub/css/local.css by defining rules within the #wikileft element:

    #wikileft a { /* sidebar link styles */ }

    #wikileft ul { /* sidebar list styles */ }

    #wikileft li { /* sidebar list item styles */ }

    ...etc...

If you just want to set styles for a particular group, then place
the style definitions within pub/css/Group.css instead of
pub/css/local.css .

If you're using a different skin, you may need to check its output
HTML structure to figure out what to use instead of "#wikileft"
(hint: look for the id= attribute of whatever container contains
the sidebar).

Hope this helps, 

Pm




More information about the pmwiki-users mailing list