Adaptable course section background colour and Collapsed Topics

Adaptable course section background colour and Collapsed Topics

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.

評比平均分數: -
In reply to 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.
In reply to 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.

In reply to 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.