History: Modifying an Existing Style Sheet
Preview of version: 7
Style sheet file
- For the theme that you want to base a new theme on, find its CSS file in the (Tiki root)/styles directory. Please note that the CSS files are not in the (Tiki root)/templates/styles directory. In a default Tiki installation, there are two directories named styles under the Tiki root:
- (Tiki root)/styles (for CSS files)
- (Tiki root)/templates/styles (for theme-specific sub-directories that contain .tpl files)
- Copy the CSS file, rename it to match your new theme name, and put it in the (Tiki root)/styles directory with all the other CSS files — for example, (Tiki root)/styles/newtheme.css.
- Edit newtheme.css to give your theme its style.
- If your theme is to use background and other images, it's best to create a subdirectory for them within the styles directory--giving it your theme's name.
- For example, (Tiki root)/styles/newtheme/
- For example, (Tiki root)/styles/newtheme/
Places to start
As of TikiWiki 2, theme-related files are in a transition period, moving away from old-school table-based layout and toward liquid layout method based on divs. Themes using the new method include, in the Tiki 2 package, Darkroom, Feb12, The News, and Tikinewt, and the themes on Themes_for_TW2 (the "fixed-width" themes of which use a table for layout due to IE7's lack of support for the display:table CSS property). The focus of these themes has been on more modern and economical use of CSS, so any would be a good model for a custom theme. It's best to avoid basing a custom theme on an older theme.
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| Wed 30 of Jun, 2010 07:27 UTC Gary Cunningham-Lee Updated. | 9 | |||||
| Sat 23 of May, 2009 05:57 UTC Gary Cunningham-Lee Some updating for Tiki3.0. | 8 | |||||
| Wed 08 of Oct, 2008 05:36 UTC Gary Cunningham-Lee | 7 | |||||
| Wed 08 of Oct, 2008 05:35 UTC Gary Cunningham-Lee Some updating. | 6 | |||||
| Thu 23 of Feb, 2006 04:37 UTC System Administrator Planetfall.css note added. | 5 | |||||
| Mon 20 of Feb, 2006 03:57 UTC Gary Cunningham-Lee Copied improved. | 4 | |||||
| Mon 20 of Feb, 2006 02:08 UTC Gary Cunningham-Lee Small edits. | 3 | |||||
| Mon 20 of Feb, 2006 02:01 UTC Gary Cunningham-Lee Content transferred. | 2 | |||||
| Fri 17 of Feb, 2006 02:41 UTC system created from structure | 1 | |||||