Solved

custom CSS not loading (universal GUI)

  • 13 December 2021
  • 4 replies
  • 88 views

Userlevel 2
Badge +5

I’m trying to write some custom CSS and followed the documentation stating that I have to change the custom.sample.css into custom.css in the public folder, but somehow the custom.css is not being loaded. I tried to find the link to the file in the rendered HTML and in the source tab of the browser and could not find it so the whole file is not linked. When I try to access the file directly by typing in its URL “localhost/universal/custom.css” the file is found.

What can I try to fix this issue?

(GUI version: 2021.3.10 b1.0)

 

icon

Best answer by Mark Jongeling 13 December 2021, 12:05

View original

4 replies

Userlevel 7
Badge +23

Hi,

Is there a particular reason why you are not using the latest released version of the Universal GUI? Could you check if this is still the case when using the latest stable/beta release (Stable: 2021.3.13 Beta: 2021.3.14-b1)?

Userlevel 6
Badge +16

Also, can you check if the css shows up in the developer tools? 

Userlevel 2
Badge +5

@Mark Jongeling I will try updating the GUI to the latest version

@Erwin Ekkel no the CSS is not showing up in the dev tools. 

Userlevel 2
Badge +5

Updating the GUI fixed the issue, thank you for the help @Mark Jongeling 

Reply