Note: You are currently viewing documentation for Moodle 2.1. Up-to-date documentation for the latest stable version is available here: Category Design.

Category Design: Difference between revisions

From MoodleDocs
(New page: === Course Category Design with CSS === * If you want to create design variations for categories, there are a couple of approaches for achieving this. Each approach has it's advantages and...)
 
No edit summary
Line 1: Line 1:
=== Course Category Design with CSS ===
=== Category Themes ===
* If you want to create design variations for categories, there are a couple of approaches for achieving this. Each approach has it's advantages and disadvantages, so choose the one that best fits your needs.
* If you want to create design variations for categories, there are a couple of approaches for achieving this. Each approach has it's advantages and disadvantages, so choose the one that best fits your needs.


Line 14: Line 14:
** CONS: Using category themes may affect performance. Creating category themes or creating child themes may require quite a lot of work, so this approach is easier to use if you are using existing or 3rd party themes.
** CONS: Using category themes may affect performance. Creating category themes or creating child themes may require quite a lot of work, so this approach is easier to use if you are using existing or 3rd party themes.


=== Using CSS to Define Category-Specific Theme changes
=== Using CSS to Define Category-Specific Theme changes ===





Revision as of 11:14, 14 January 2011

Category Themes

  • If you want to create design variations for categories, there are a couple of approaches for achieving this. Each approach has it's advantages and disadvantages, so choose the one that best fits your needs.

Using Category Setting to Apply a Category Theme

  • The first approach is to use the option to allow different themes for different categories (or for different course, for that matter).
  • You would then have to design different themes for different categories and apply the theme to that category. Upload the themes to your theme folder.
  • Apply category themes by:
    • Going to Site Administration>>Appearance>>Themes>>Theme Settings and check the option to allow category themes.
    • In the Category page turn editing on and click the icon to edit category setting.
    • Choose the category theme from the dropdown list next to the "Force Theme" settings, and save the changes.
  • PROS and CONS of this approach:
    • PROS: Completely different themes may be used for different categories, creating a very distinctive view for the category.
    • CONS: Using category themes may affect performance. Creating category themes or creating child themes may require quite a lot of work, so this approach is easier to use if you are using existing or 3rd party themes.

Using CSS to Define Category-Specific Theme changes

  • PROS and CONS of this approach:
    • PROS:
    • CONS:

http://moodle.org/mod/forum/discuss.php?d=32356