Answer the question
In order to leave comments, you need to log in
CSS loading issue
Good afternoon.
Tell me what could be the problem.
On certain computers, they were able to reproduce the problem when the layout is “running” on the site. It is reproduced only on some computers, but no patterns have been identified. Found out that when this happens, no css is loaded. Chrome in the console swears that it could not load the file. Firefox does not swear, but in the "Network" tab in the firebug, this css is missing when the page loads (only one - the rest are displayed correctly).
On one computer they managed to reproduce in chrome, while in ff it works fine. On another computer, they managed to reproduce in ff, but it works in chrome.
It is reproduced on two different servers with different configurations - on test and "combat".
What could it be? o_o
Answer the question
In order to leave comments, you need to log in
Firstly, the order of connecting styles and scripts is very important, and secondly, Bitrix has the $APPLICATION->SetAdditionalCSS method, I use it and there were no problems with the correct order
There was such a problem, it was reproduced depending on the device and browser. It turned out that this is the work of the Adblock Plus extension, which blocks the loading of resources (including styles, scripts, pictures) in certain paths. I solved it by renaming the site template folder :)
Read more about Adblock filters here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question