SetAdditionalCSS(SITE_TEMPLATE_PATH."/styl/main.css"?" />
G
G
Good Samaritan2017-09-24 12:06:59
1C-Bitrix
Good Samaritan, 2017-09-24 12:06:59

Not working Asset::getInstance()->addCss(SITE_TEMPLATE_PATH."/style/main.css"); and $APPLICATION->SetAdditionalCSS(SITE_TEMPLATE_PATH."/styl/main.css"?

If you write

<link rel="stylesheet" href="<?=SITE_TEMPLATE_PATH?>/style/main.css">
then everything is loaded. Otherwise, the site is standing and loading

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question