General developer forum

Courses Section (0) title on M3.3

 
Picture of barbara nance
Courses Section (0) title on M3.3
 

Hi

I am using M3.3 and Adaptable 1.5. Since upgrading I have found that where previously I have been able to hide the top section title (Section 0) in courses, now I have to add text in the box otherwise it defaults to General. I would like no text to be shown in Section (0).

This may be very obvious, am happy to add code to theme CSS if some-one can provide it for me!

Many thanks

Barbara


 
Average of ratings: -
Gareth J Barnard
Re: Courses Section (0) title on M3.3
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

Something like:

.course-5 #section-0 {
    display: none;
}

Should work, where '5' is the course id.

 
Average of ratings: -
Picture of barbara nance
Re: Courses Section (0) title on M3.3
 

Hi Gareth

Many thanks

Could you clarify where this goes - in each course?? Sorry its the obvious!

If its each course, is there a generic one that can be added to theme?

Many thanks

Barbara

 
Average of ratings: -
Gareth J Barnard
Re: Courses Section (0) title on M3.3
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

Hi Barbara,

It goes in the theme custom CSS.  For a generic all courses CSS try:

.course-content #section-0 {
    display: none;
}

But note this is off the top of my head and not tested.

If you're uncertain and would like to learn more about Moodle Themes and CSS, then please consider attending 'Theme design level 1' course facilitated my me - http://www.moodlebites.com/mod/page/view.php?id=3208 - and run by HRDNZ (A Moodle partner since 2006).

Cheers,

Gareth

 
Average of ratings: -