Answer the question
In order to leave comments, you need to log in
How to properly add a new style to head in YII2?
by default, the head(main.php) section in YII2 works like this:
<title><?= Html::encode($this->title) ?></title>
<?php $this->head() ?>
</head>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head() ?>
<link rel="stylesheet" href="путь до ссылки">
</head>
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