S
S
script882012-09-27 14:21:52
PHP
script88, 2012-09-27 14:21:52

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

2 answer(s)
P
perry__utkonoss, 2015-06-07
@perry__utkonoss

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

M
moguchi, 2015-06-07
@moguchi

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 question

Ask a Question

731 491 924 answers to any question