More theme, modify course summary block

More theme, modify course summary block

de Marie CICHOCKI -
Número de respuestas: 3

Hello all !

I would like to modify the margin for the course summary block that appears in the central block of the front page when connected.

Here below is what I can see on a test course (same for all courses) :

Screen capture

As you can see the text summary and the logo below (which come from the course summary field of the course settings) are not aligned with the TEST1 TEST1 course title.

Can somebody explain which ccs file to modify and how to change this ?

I'm currently using the latest release of Moodle and the More theme.

Thanks and regards,


Marie

Promedio de valoraciones: -
En respuesta a Marie CICHOCKI

Re: More theme, modify course summary block

de Mary Evans -
Imagen de Core developers Imagen de Documentation writers Imagen de Peer reviewers Imagen de Plugin developers Imagen de Testers

Hi Marie,

If this is part of the display for Course Combo setting on the front page, then the way to change this is as follows:

.coursebox .content .summary,
.coursebox .content .coursecat {
  width: 100%;
  float: left;
}
.coursebox > .info > .coursename {
  width: auto;
}
.coursebox .content .teachers,
.coursebox .content .courseimage,
.coursebox .content .coursefile {
  width: 100%;
}

You can add this to the Custom CSS area in the More settings page.

Cheers

Mary