Answer the question
In order to leave comments, you need to log in
Scripts and adaptive on the site do not work?
Hello! I uploaded my template to a virtual server based on Bitrix. The adaptive with scripts does not work. But on Live Sass everything works in vscode. Here is a link to the site .
To edit the code on the server I use PhpStorm. Files with styles thrown into
template_style.scss, header in
header.php, footer in
footer.php, well, the main main in
index.php. Created files with scripts and connected them via
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . '/js/myscripts.js');
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . '/js/script.js');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question