Adaptable course section background colour and Collapsed Topics

Adaptable course section background colour and Collapsed Topics

بواسطة - Nick Varney
عدد الردود: 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.

متوسط التقييمات: -
رداً على Nick Varney

Re: Adaptable course section background colour and Collapsed Topics

بواسطة - Gareth J Barnard
صورة Core developers صورة Particularly helpful Moodlers صورة 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.
رداً على Nick Varney

Re: Adaptable course section background colour and Collapsed Topics

بواسطة - Jon Bolton
صورة Particularly helpful Moodlers صورة 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.

رداً على Jon Bolton

Re: Adaptable course section background colour and Collapsed Topics

بواسطة - 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.