I have the assignment to migrate Moodle courses from a 2.1 to 3.2 (I have no control over the basic setup).
The courses have been created under 1.x and have been styled with a CSS < style ></ style > included to a section summary. Later the courses have been exported and imported to a new 2.1. The 1.x version is not available any more.
The CSS has been kept by Moodle, but is not accessible any more from within the course / editor due to the new restrictions concerning CSS. Now exporting and importing to 3.2 the CSS is still there, still not accessible. Thus no changes can be made, but the old style often is broken in the 3.2 environment. I need to delete the old CSS, and include it newly via Javascript in the course because the courses need to be exported and imported again including the CSS.
Is there any way other than going directly to the database in order to delete the old "baggage" CSS? I would prefer that over overriding it with !important on every style.