Good morning Gareth, again thank you very much for your great collaboration. I tell you that I was able to solve the previous problem, for that I had to comment on the underlined lines (../moodle/theme/adaptable/layout/header.php)
// Load header background image if it exists.
$headerbg = '';
if (!empty($PAGE->theme->settings->categoryhavecustomheader)) {
$currenttopcat = \theme_adaptable\toolbox::get_current_top_level_catetgory();
if (!empty($currenttopcat)) {
$categoryheaderbgimageset = 'categoryheaderbgimage'.$currenttopcat;
if (!empty($PAGE->theme->settings->$categoryheaderbgimageset)) {
/*$headerbg = ' class="headerbgimage" style="background-image: ' .*/
$headerbg = ' style="background-image: ' .
'url(\''.$PAGE->theme->setting_file_url($categoryheaderbgimageset, $categoryheaderbgimageset).'\');"';
}
}
} else {
$currenttopcat = false;
}
if ((empty($headerbg)) && (!empty($PAGE->theme->settings->headerbgimage))) {
/*$headerbg = ' class="headerbgimage" style="background-image: ' .*/
$headerbg = ' style="background-image: ' .
'url(\''.$PAGE->theme->setting_file_url('headerbgimage', 'headerbgimage').'\');"';
}

Now the problem is that when a user enters Moodle from their mobile device, the long course names are shortened and it looks bad.


I remain attentive and thank you very much as always.