Community

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vandergalien
New Member

Custom JS/CSS files only work when previewed, not when Theme is saved

Jump to solution

Hi all,

I am an Canvas admin at our school, and have the ability to upload custom CSS and JS files via the Theme Editor. When I upload my custom files and click 'Preview your changes', I see that the custom files are applied to Canvas pages. Once I save and apply the theme, however, the custom files are not used anymore.

Using the dev tools of the browser, I can see that after clicking 'Preview your changes' links to the files are indeed added to the source code, but disappear from the source code when changes are saved and applied.

Could this be a permissions issue, or is something else going on?

(I'm using the test environment, but the same problem occurs in the normal environment.)

 

Thanks!

Anne Albert

0 Kudos
1 Solution

Accepted Solutions
jerry_nguyen
Community Contributor

@vandergalien 

Are you a root admin or an admin of a sub-account? Your custom CSS/JS might have been overwritten by the custom CSS/JS from the root account

View solution in original post

2 Replies
jerry_nguyen
Community Contributor

@vandergalien 

Are you a root admin or an admin of a sub-account? Your custom CSS/JS might have been overwritten by the custom CSS/JS from the root account

Yes that's it, thank you so much! I'm not a root admin and I see they have inserted some web reader script. I'll contact the root admin then.