Skip to content

[BUG] externalStyleSheet not loading. #1888

@firedfromlife

Description

@firedfromlife

Environment

Self-Hosted (Docker)

System

Firefox 141, Chrome 138

Version

3.1.1

Describe the problem

I set my externalStyleSheet in my conf.yml, but it doesn't seem to be loading in any way I can see, or applying any styles.

In my conf.yml I have:
externalStyleSheet:
- "https://<MYDOMAIN>/custom.min.css"

I have tried non minified versions and loading from relative path, neither change anything.
I was able to get the customCss setting to apply the style, so I know the CSS is correct.

The documentation for this feature refers to a file called ThemeHelper.js, but the link is to a file that doesn't appear to exist anymore. Interestingly, the file does exist in run_as_non_root branch. Was it mistakenly removed from the master branch?

Additional info

  • When searching through the browsers network requests, I see no reference to the css file.
  • When searching the style editor, I see no reference to the CSS.

Side note: The documentation also lists a string as a valid value, but the config schema only allows for an array, perhaps remove the string example or update the schema?

Please tick the boxes

Metadata

Metadata

Assignees

Labels

🐛 Bug[ISSUE] Ticket describing something that isn't working👤 Awaiting Maintainer Response[ISSUE] Response from repo author is pending

Projects

Status

Awaiting Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions