These 2 files should also be attached to course content when added into Commons.
The rich content editor is frustrating as it rips out modified HTML and giving course designers access to the entire Canvas Theme is a risk.
Hi, @david_turk , as currently written, this idea contains two separate requests: one for course-based themes, and a second for additional sub-account theming capability. Sub-account admins currently have theming capability, as long as that has been enabled at the account level, as detailed in How do I manage themes for an account? and How do I set details for an account? . You might be interested in supporting https://community.canvaslms.com/ideas/16986-theme-control-in-subaccounts" modifiedtitle="true" title....
Would you please edit the description to remove the second request so as to create a singular focus on the course request?
Thanks Stefanie, edited.
Thanks, David! It's now open for voting.
Custom CSS and JS per-course would save me from a lot of typing and verification, resulting in a more uniform and better experience for my students in my courses.
Regarding inline styling MDN says
Avoid using CSS in this way when possible. It is the opposite of a best practice. First, it is the least efficient implementation of CSS for maintenance. One styling change might require multiple edits within in a single web page. Second, inline CSS also mixes (CSS) presentational code with HTML and content, making everything more difficult to read and understand. Separating code and content makes maintenance easier for all who work on the the website.
There are themes that could benefit as well. I wrote a VBA script in Excel that would take the formatting of the cells in a table, slap in a caption, and create the HTML needed to style it nicely. I then have to paste that into the HTML editor in Canvas. What I would loved to do is add a class to the table that lets it know what styling to use. That would save a lot of time developing things.
My wife just created a new instructor training bootcamp for teachers that were going online for the fall for the first time because of COVID. She went through and styled every page so the heading and text had different backgrounds. I never would have done that to the background, I would prefer to leave it on white. She spent a lot of time doing that. I injected some CSS into my browser and showed her what it could look like and how easy it was when you separate CSS from the content.
Inline styling is bad. There's no doubt about it. Canvas allows people to do it, but I want to imagine that they purposefully make it hard to do so that people don't do it.
Too many faculty have their own notions of what looks good. Unfortunately, it's not always good. I remember the time I was doing a peer review of an online course and the instructor had used text various colors in their syllabus because they wanted it to be colorful, not the boring black and white. That teacher loved pastel, so there was a lot of pastel, which failed accessibility contrast checks. It was hard on my eyes to read.
Faculty often design only for their devices. They use tables designed for a 27 inch monitor with 1920x1080 resolution and don't consider what will happen to that table on a smart phone or someone with a laptop with 1366x768 resolution.
I am using the subaccount trick to hold my math courses where I need MathJax even though I check to make sure there is math content on the page before I load the MathJax JS. I briefly explained what I am doing today to the other STEM teachers and mentioned mhchem to the chemistry professor. I haven't heard back whether or not they have an interest. I don't want to use MathJax, I would prefer that my content be inside Canvas natively and if I already had a lot of content there, I would leave it. I'm switching to an OER Calculus text for Calc 1 and 3 this fall and we're completely teaching online, I need to put a lot of content inside Canvas and using the equation editor to create each one of them is going to take a long time. When I'm done, I can always write a script that will download each page and convert the code into what Canvas uses for equations, but this is going to help me get up and going.
As an instructor, Canvas admin, and back-end programmer, I want theming left as it is -- at the sub-account level.
We would like to add additional custom styles using CSS-3 parameters..
If we want to add a simple border-radius, we have to go with theme support... In this case, it's hard to manage dynamic border-radius values on different pages.
Is there any feature plan that supporting CSS-3 styles on course pages from Rich Text Editor?
I don't know what it would take to get this implemented -- perhaps developers would like to parse the CSS and maybe preface every selector with a #content-wrapper parent to avoid breaking the institution's look and feel? But in any case it would be nice to have this option available.
It would be great to support full HTML instead of stripping HTML tags in rich text editor (or) having option to enable/disable from account settings to control the HTML tags handling on rich text editor.
Rightnow, we cannot embed any additional stylesheets via the rich text editor and we totally belongs to the Themes that only Admins can manage.
As a Canvas administrator, I would have to agree with @James on this overall request. I do totally understand the request and agree it would be useful for some people, but for the vast majority of teachers it's more likely to lead to issues than end up solving problems...
I know teachers want more control over presentation in certain areas, but I think the challenges outweigh the benefits. If there is a huge need, i'd say that teachers could always talk to their local Canvas admin to talk things over and see if something could be added to a root account or subaccount theme (though for many of the support and maintenance reasons I mentioned above, the answer will probably be "no" most times).
Thank You @chriscas. I've placed the code in the main script of the main theme but it isn't showing up. I can't remember based on policies if we can leave an email address here, but mine is email@example.com if I could ask a few quick questions.
| Comments from Instructure
As part of the new Ideas & Themes process, all ideas in Idea Conversations were reviewed by the Product Team. Any Idea that was associated with an identified theme was moved to the new Idea & Themes space. Any Idea that was not part of the move is being marked as Archived. This will preserve the history of the conversations while also letting Community members know that Instructure will not explore the request at this time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.