Collapsed topics format: Individual format for topic titles

Collapsed topics format: Individual format for topic titles

deur Martin Lacher -
Getal antwoorde: 12
Hi there,

Is it somehow possible to format the colors (text and background) of each topic title individually?

Thanks, Martin
Gemiddeld van beoordelings: -
In antwoord op Martin Lacher

Re: Collapsed topics format: Individual format for topic titles

deur Gareth J Barnard -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Plugin developers
Currently not via the format's settings, but probably possible via custom CSS. However you'd almost certainly need to either use 'important' or have more specific selectors that would override the inline CSS that is used on the page in the HTML to style the sections in the first place.
Gemiddeld van beoordelings: -
In antwoord op Gareth J Barnard

Re: Collapsed topics format: Individual format for topic titles

deur Martin Lacher -
Thanks for the quick answer. But then I would have to place my custom CSS (which I don't mind, even !important) somewhere in this topic. But in my backend, I don't see such a field. Any further suggestions on where to put the CSS code?

Kindly, Martin
Gemiddeld van beoordelings: -
In antwoord op Martin Lacher

Re: Collapsed topics format: Individual format for topic titles

deur Gareth J Barnard -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Plugin developers
The theme's custom CSS / SCSS setting if it has one.
Gemiddeld van beoordelings: -
In antwoord op Gareth J Barnard

Re: Collapsed topics format: Individual format for topic titles

deur Martin Lacher -
I am not an administrator of this moodle instance, so I wouldn't have access to this css hartseer
Gemiddeld van beoordelings: -
In antwoord op Martin Lacher

Re: Collapsed topics format: Individual format for topic titles

deur Gareth J Barnard -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Plugin developers
Could you ask the admin?
Gemiddeld van beoordelings: -
In antwoord op Gareth J Barnard

Re: Collapsed topics format: Individual format for topic titles

deur Martin Lacher -
I highly doubt it. We‘re a university with about 300-400 employees…
Gemiddeld van beoordelings: -
In antwoord op Martin Lacher

Re: Collapsed topics format: Individual format for topic titles

deur Gareth J Barnard -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Plugin developers
In that case, I'd need to spend several hours adding the functionality into CT in the M4.2 version (current) and then backport to your version of Moodle, all of which I'd want to be paid for. Then after release on Moodle dot org, you'd need to contact your admin / manager to ask for the plugin to be upgraded. Thus, the only way I can now see of solving this for you is for you to speak to whomever controls your Moodle.
Gemiddeld van beoordelings: -
In antwoord op Gareth J Barnard

Re: Collapsed topics format: Individual format for topic titles

deur Martin Lacher -
Thanks for your offer - I don't have the financal resources to go this way... ;) But who knows, maybe it's worth a feature request for a future version? Where would I have to hand that in?
Gemiddeld van beoordelings: -
In antwoord op Martin Lacher

Re: Collapsed topics format: Individual format for topic titles

deur Gareth J Barnard -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Plugin developers
Pragmatically Martin, there is the GitHub issues for feature requests, however the outcome is likely to be the same in that I'll require funding for my time. Perhaps your organisation has the financial resources?
Gemiddeld van beoordelings: -
In antwoord op Martin Lacher

Re: Collapsed topics format: Individual format for topic titles

deur Rick Jerz -
Prentjie van Particularly helpful Moodlers Prentjie van Testers
Martin, your post made me wonder if your desire to have different colors for different topics makes sense. Sure, it would be creative, but it might not be "accessible" for two reasons. I am not an accessibility expert, but I have been told that having many changes could be a problem with dyslexia or some kind of disability where too many changes cause them to become distracted, something like that. The second reason is more obvious... people who are color-blind might only be able to distinguish around six colors.
Gemiddeld van beoordelings: -
In antwoord op Rick Jerz

Re: Collapsed topics format: Individual format for topic titles

deur Martin Lacher -
Thanks for your contribution.

I'm aware of those potential problems. I would only need 2 colors, maybe three, I'm not keen to put up a whole rainbow. For the second issue, there are color-blind palettes, I already use them in research diagrams.

Regards, Martin
Gemiddeld van beoordelings: -