Adaptable course section background colour and Collapsed Topics

Adaptable course section background colour and Collapsed Topics

by Nick Varney -
Number of replies: 3

Hi,

The Adaptable Theme has a colour picker for changing the course section header background. This appears to overide the background colour settings for Collapsed Topics courses.

We are using Moodle 3.5.5 | Adaptable 1.8.0.1 | Collapsed Topics 3.3.1.2

This is the Adaptable setting:

Adaptable theme

Resulting in the colour overide on Collapsed Topics sections :

Collapsed Topics


Are there any workarounds to this please? Ideally I would like any courses using collapsed topics to override the site-wide heading colour set by the theme.

Thanks.

Average of ratings: -
In reply to Nick Varney

Re: Adaptable course section background colour and Collapsed Topics

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Ok, even probably not a solution but you should be running the version of CT for M3.5 Nick, thus CT's version starting 3.5 and not 3.3.  Once this has been updated then the versions will be compatible and thus where any fix takes place, you're able to update.
In reply to Nick Varney

Re: Adaptable course section background colour and Collapsed Topics

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

As a temporary fix pending an upgrade, you could add this to your custom CSS in Adaptable...

#page-course-view-topcoll .sectionname {background: #1f6afa !important;}

This will only affect section headings in the courses using Collapsed Topics format.

You'll probably need to get the exact hex code from the Collapsed Topics settings.

In reply to Jon Bolton

Re: Adaptable course section background colour and Collapsed Topics

by Nick Varney -
Thak you both.

I have now upgraded CT. The problem persisted so I used your CSS Jon to correct the colour discrepancey and added another for the hover state.