bmbrands / moodle-theme_elegance

This is the new official elegance repository
http://basbrands.nl
23 stars 12 forks source link

Category layout broken #92

Open thepurpleblob opened 9 years ago

thepurpleblob commented 9 years ago

Instead of being in a list, course categories now seem to have huge text and are spread horizontally over the screen. This seems to have happened in a recent update. It looks terrible...

screen shot 2014-12-04 at 15 30 25

shogathu commented 9 years ago

you have to change the course_renderer file had the same problem. go to /theme/elegance/renderer/course_renderer.php then look at protected function coursecat_category maybe line 123 there is a $classes = array('category', 'col-sm-6', 'col-md-3'); change it to $classes = array('category') when the collapse do not work change //$this->coursecat_include_js(); to $this->coursecat_include_js();

but you can also uncomment the whole function cause this one is crap