More theme, modify course summary block

More theme, modify course summary block

by Marie CICHOCKI -
Number of replies: 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

Average of ratings: -
In reply to Marie CICHOCKI

Re: More theme, modify course summary block

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of 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