Custom Overrides

Table of contents
  1. 1. Style loading order

Custom overrides allow administrators to modify the styles of the currently selected template and skin without modifying any files. These values are stored in the config table and are accessible from "Visual Appearances" in the control panel.

Style loading order

Deki Wiki will load these stylesheets (in order):

  1. Reset Styles- /skins/common/reset.css (optional, depends on template, but all MindTouch templates will load this first)
    This is YUI's stylesheet, which resets all HTML elements to have no styles, so rendering in all browsers is consistent.
  2. Default Deki Wiki Styles - /skins/common/css.php
    These are the default styles which are loaded for all Deki Wiki instances - these are structural elements that we require to be consistent
  3. Template Styles - /skins/{templatename}/{skinname}/css.php
    These are the styles that are loaded by your skin
  4. Custom Overrides - via control panel (Visual Appearances)
    These will be loaded last of all all 3 styles (if you set the proper selectors, they will override all the settings). There are two custom override boxes:
    • Template Overrides - these are styles used for the template
    • Body Overrides - these are styles which affect the content of your site
We maintain two separate overrides because of the way our application works: the editor itself is an iframe and we cannot load the whole template styles since many users will be targetting the body for styling. Any styles which the user would like to affect in the content must be done in the content block.
Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08