I just can't change theme only for specific workspace #11214
|
I'm struggling i spent hours and don't understand words don't make sense to me. I added atrribiute #cssclass(inheritable)="name od theme" and only thing i achived so far was setting it to whole application. Code in wiki "Custom app-wide css" doesn't do anything and i couldn't figure it out adding #appcss changes it to whole app not single workspace. I'm lost and would be grateful for step by step guide as bluntly and specific as possible maybe with pictures and arrows ;( |
Replies: 1 comment 1 reply
|
The real trick is a scoped widget script, not CSS attributes.
You should consider using a widget script to achieve the effect you want. This is a reference script — add Then, on the workspace root note, add the attribute labels
|
The real trick is a scoped widget script, not CSS attributes.
#appCssonly applies globally — it can't be isolated per workspace.You should consider using a widget script to achieve the effect you want. This is a reference script — add
#widgetto activate it.Then, on the workspace root note, add the attribute labels
#workspaceand#lhaWorkspace(inheritable).#lhaWorkspaceis a custom label defined in the reference script.