Custom Corners

From MoodleDocs
Jump to: navigation, search

Custom corners is new theme for moodle 1.9 by Urs Hunkler of Unodo

Making a theme based on custom corners

To use custom corners as the parent of your theme (so you only specify changes from it instead of building your own from scratch) follow these instructions:

  1. Make a copy of the custom-corners directory and rename it to something else
  2. open the "user_styles.css" file, delete everything and save it.
  3. open "config.php" and set the following:
    1. $THEME->sheets = array('user_styles');
    2. $THEME->standardsheets = array('styles_layout');
    3. $THEME->parent = 'custom_corners';
    4. $THEME->parentsheets = array('user_styles');
  4. save "config.php"
  5. edit your profile within moodle to use the new theme
  6. You should see no difference, but can make CSS additions to "user_styles.css" which will appear when you refresh the page.
Personal tools
User docs (English)