Version 9 (modified by Ryan J Ollos, 3 years ago) (diff)

Remove PyPI link. There is a PyPI page, but it doesn't host an actual package.

Set CSS styles using a wiki page


This plugin allows one wiki page to be used as global CSS style file for Trac. The CSS file is provided at [/projectdir]/wikicss.css and a link HTML header is inserted which directs browsers to it.

This plugin got requested by Request-a-Hack #1714.

Bugs/Feature Requests

Existing bugs and feature requests for WikiCssPlugin are here.

If you have any issues, create a new ticket.


5 / 6


Download the zipped source from here.


You can check out WikiCssPlugin from here using Subversion, or browse the source with Trac.


  1. With easy_install:
  2. Restart web server (in this example using Apache on Ubuntu OS):
    sudo /etc/init.d/apache2 restart
  3. Enable plugin through ../admin/general/plugin or modify your trac.ini file to include:
    tracwikicss.* = enabled


Put the following into your configuration file trac.ini:

# configure wiki page to be used as CSS file as `[/projectdir]/wikicss.css`.
wikipage = SiteStyle

This uses the wiki:SiteStyle page as CSS style file.

Recent Changes

17138 by rjollos on 2018-04-16 20:01:32
TracWikiCssPlugin 0.3: Conform to PEP8
15264 by rjollos on 2016-02-11 04:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

9159 by martin_s on 2010-09-27 14:27:40
Added use of HTTPNotFound exception.


Author: martin_s
Maintainer: Martin Scharrer