How to fix simplebox connection error?
For some reason, he writes that simplebox styles are not connected.
link to the page but in general it's not the page, simplebox stopped working at all on the entire site, by the way , I don't know if this is related, but I just connected the swiper slider that day, when I noticed that simplebox did not work, I tried to turn off swiper (I commented out the connection of js scripts), but the problem remained
at first the connection was like this https://yadi.sk/i/iRTftdBkfjeYOw
I started googling: "Uncaught ReferenceError: Box is not defined" - this text made me think that the script stopped loading due to the fact that the styles do not have time to load before working out the connection code and it does not seem to find them, I started trying download the script rather css and moved the code to the header https://yadi.sk/i/p8FAjH_FTZYWZA
but it didn't help https://yadi.sk/i/--O_LdYsDZMtmQ here you can see that simplebox before loading the script, if I open the css folder you can see that the simplebox styles are loaded https://yadi.sk/i/qauEjc67FngRiw < / a>
but the error remains and the simplebox code doesn't work.
the answer was given in the comment, thanks!Michael Burns
To place the code, please use CodePen or similar tool. Thanks you!