Hello,
I created simple css script (i am sure that works, it only sets bacground color on some div-s) new_custom.css .

css is in Webresources. I call it with Javascript on load:
Whenever account is loadet style should be also difrent.
function LdCSS() {
var path="/WebResources/new_Acustom.css";
var head = document.getElementsByTagName('head')[0];
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = path;
link.media = 'all';
head.appendChild(link);
}
Intersting is if I paste this script on console (chrome developer mode). style works and divs backgrounds are colored.
I tried all i could think off but nothing works.
Thank you for all the answers.
Luka Kadunc
*This post is locked for comments
I have the same question (0)