-
Bug
-
Resolution: Fixed
-
Minor
-
2.4.1
-
MOODLE_24_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
wip-
MDL-38000-m25 -
This is an obscure we bug that I hit while looking at how to include CSS from a 3rd party library within the theme directory but not within the theme/style directory.
To replicate:
- Create a new theme based upon standard.
- Create a config file and within it define the minimum.
- Create a file theme/yourthemename/test.css and set to it: body {background-color:red !important}
- In your config file add "$THEME->sheets = array('../test');
- Browse to your site and switch to your theme.
- Inspect the source for the CSS and note there was an issue.