Sorry but, the "Additional HTML" settings under the Sys Admin->Appearance menu applies to all themes being used throughout the course... Unless the theme has it's own "Additional HTML" settings within the themes settings page, the only way to do this is a theme by theme basis via their respective CSS and layout files. If you are creating your own themes you could give each one it's own "Additional HTML" settings section.
Another solution that might be easier is to give each HTML element in the additional HTML it's own class and create CSS rules in each available themes CSS file(s) for the elements you want in the "Additional HTML".
Let me break it down for you like this:
- In the config.php file for each available theme look for the sheets array and add an item to the array like so:
$THEME->sheets = array(
'pagelayout',
'core',
'settings',
'additional_html.css' /* or whatever you want to name the file */
);
- Here is an example of some additional HTML, each element assigned with it's own class:
<div class="add-html-container">
<a href="http://eye.go.somewhere" class="add-html-link">
<img src="" class="add-html-image" alt="An Image">
</a>
</div>
- Now create an "additional_html.css" file in the style folder for each available theme in your moodle installation. In each stylesheet, use the same class names used in the additional HTML but modify the CSS rules attributes to suit the look of each theme. So, in the additional_html.css file for the afterburner theme for example we would have the following rules based on the HTML example above:
.add-html-container {
width: 100%;
max-width: 1024px;
background: #fff;
border-left: 1px solid #eee;
border-right: 1px solid #eee;
}
.add-html-link {
color: #337F8C;
}
.add-html-link img {
width: 100%;
height: auto;
}
.add-html-image {
display: block;
margin: 20px 0 10px 20px;
float: left;
}
Now, we can style those same elements completely differently in the Binarius theme for example:
.add-html-container {
width: 100%;
max-width: 960px;
background: #555;
}
.add-html-link {
color: #f14e16;
}
.add-html-link img {
width: 100%;
height: auto;
}
.add-html-image {
display: block;
margin: auto;
float: right;
text-align: center;
}
Now, I have not tested this but it certainly should work. The initial setup may take a little time but once it is set up, making changes to the HTML only has to occur in one spot. I hope all of that made sense. Let us know if this solves the problem and if you have any questions about anything I went through.