CSS load failure January 02, 2019, 10:14:32 am The specs: Elk 1.1.5, nginx 1.15.8, php7.3, mariadb 10.3.11The issue: using custom.css to create a besocial variant, occasionally the index_besocial.css and custom.css files fail to load leading to a page with a layout but no color, etc. Hard refresh does not help. This only happens on ONE site on the server, never others running the same setup on the same server. php restart fixes the issue instantly.Anyone have an idea what is causing the issue? It's rather perplexing!
Re: CSS load failure Reply #1 – January 02, 2019, 12:41:54 pm Could it be the "known issue" that the custom is loaded before the "non-custom", invalidating the declarations in it?If so, a quick (albeit horrible) workaround is to use !important in your custom.css.
Re: CSS load failure Reply #2 – January 02, 2019, 03:51:11 pm Quote from: emanuele – January 02, 2019, 12:41:54 pmCould it be the "known issue" that the custom is loaded before the "non-custom", invalidating the declarations in it?If so, a quick (albeit horrible) workaround is to use !important in your custom.css. Perhaps? Does !important need to be used for every detail?
Re: CSS load failure Reply #3 – January 08, 2019, 08:45:39 am Sorry, I missed your reply @badmonkey .The answer is... depends. If you want to stay on the safe side you can put it on everything, otherwise you can try and see where it is needed.I have to track this one, though.