Put the topic here this https://yii2.themefactory.net/theme/5/on-the-beach# . And the GridView table is no longer displayed, there is data, and the fields are gone and are not regulated as normal. This is what http://joxi.ru/VrwnejbHGXJ6AX looks like. I tried to do this, but it does not help:

<?php Pjax::begin(); ?> <?= GridView::widget([ 'dataProvider' => $dataProvider, 'tableOptions' => [ 'class' => 'table table-striped table-bordered', 'style' => 'line-height: 20px', ], 

Line-height is adjustable, but it’s impossible to return the “standard” view to it. In the css topic about the table there is nothing, or rather there is, but this does not apply. Tell me, please, how can I fix it?

    1 answer 1

    Problem solved. It was necessary to add the following lines to layouts / main.php:
    $asset = frontend\assets\FrontendAsset::register($this); $baseUrl = $asset->baseUrl;
    And also in FrontendAsset.php:

     public $css = [ 'themes/on-the-beach/files/main_style.css' 

    Now the tables from the GridView and DetailView are displayed.