Moodle 2.7 - More theme does not display site title or course title

Moodle 2.7 - More theme does not display site title or course title

by Pieter van der Hijden -
Number of replies: 2

Moodle 2.7.2+ (Build: 20141010):

After a fresh install and selecting the More theme, the home page clearly displays the name of the site. After creating a course, the course name is clearly displayed instead. This is Great (as I missed the course title in most of the old themes).

However, when I add a 75x75 logo file to the More theme settings, the site title and the course title disappear.

Any idea how I can use a logo and still have the site name / course name displayed automatically?

In reply to Pieter van der Hijden

Re: Moodle 2.7 - More theme does not display site title or course title

by Mary Evans -

That is because of this code in Clean theme...as Moor theme uses the same code from Clean theme...

https://github.com/lazydaisy/moodle/blob/master/theme/clean/lib.php#L138-L142

which you could alter by changing it to the following code and add some CSS to position the heading below the logo...

if (!empty($page->theme->settings->logo)) {
    $return->heading = $output->page_heading();
}