Set styles based on the styling of a single wiki page


This plugin allows a user to apply the styling of a selected wiki page to the entire Trac project. It does so by using the CSS file of the selected wiki page as the global CSS file for the Trac project. The CSS file is specified as [/projectdir]/wikicss.css in the project's trac.ini file and a link HTML header is inserted which directs browsers to it.

The action can be undone by removing or commenting out the line from the trac.ini file, without having to uninstall or deactivate the plugin.

This plugin was originally requested through #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.

The plugin is also available on PyPI.


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


General instructions on installing Trac plugins can be found on the TracPlugins page.


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

Last modified 3 years ago Last modified on Apr 14, 2018, 9:56:58 PM