Unable to inserting custom CSS in the Label (Moodle 2.2)

Unable to inserting custom CSS in the Label (Moodle 2.2)

by tom tang -
Number of replies: 1

Hi there, I have a course in Moodle 1.9 with topics/ lessons that consist of Labels.

I have made some custom CSS to go with the content in my Label as shown below when I use the 'Show HTML' feature:

<style type="text/css">
<!--
Custom CSS
-->
</style>

HTML code goes here.

In Moodle 2.2 - THE CSS CODE IS NOT THERE????? How can I see it and edit the CSS.

Average of ratings: -
In reply to tom tang

Re: Unable to inserting custom CSS in the Label (Moodle 2.2)

by Itamar Tzadok -

Turn editor off in your profile. However, if you later edit the label with editor on and save the css will be cleaned up again, so always edit the designated labels with editor off. hth smile