We have tried to implement our own theme using following steps in our website.
"Each theme is in a subdirectory of the "theme" directory, and contains at least the following files:
- config.php : defines the theme colours used throughout the site
- styles.php : the style sheet, containing CSS definitions for standard HTML elements as well as many Moodle elements.
- header.html : Included at the top of each page. This is what you need to edit to add a logo at the top of pages, for example.
- footer.html : Included at the bottom of each page.
To create your own themes for current versions of Moodle:
- Copy one of the existing theme folders to one with a new name. I recommend starting with one of the standard themes.
- Edit config.php and insert your own colours.
- Edit styles.php and change your CSS styles.
- Edit header.html and footer.html to add new logos, or change the layout.
Note that all these steps are optional - you can make a radically different look to your site simply by editing the colours in config.php "
My concern / Issues as given below:
1. If we do not have header.html, footer.html then how can we workout for this files in theme folder?
2. Can I override Moodle default theme by using my .css files directly for my .html / .php pages?
If "Yes" then HOW?
Note: Actually we have designed our own .HTML pages for the whole website which will handle basically two modules; Quiz & Lessons. In this scenario which would be the best way to maintain the Look and Feel of the pages across the website without much changes in the themes's .css file.
Any help would be appreciated!
Thanks in Advance,
Mamta