<div class="c-c white-bg"> <!-- intro text --> <div class="c"> <p><?php echo $video->description; ?> </p> </div> <!-- intro text --> </div> <!-- gallery --> <div class="gray-bg"> <?php echo \app\components\widgets\RandomizeWidget::widget(['type' => 'video', 'currentId' => $video->id]); ?> <!-- teasers --> <?php echo \app\components\widgets\AdsWidget::widget(['url' => 'video/view']); ?> <!-- teasers --> </div> <!-- gallery --> </div> <!-- main -->
// 'css' => [ // 'background' => 'rgba(0, 0, 0, 0.8)' // ] // ] // ], // ] //]); ?> <!-- intro text --> <div class="gray-bg" style="margin: 0 -20px;"> <?php echo \app\components\widgets\RandomizeWidget::widget(['type' => 'photo', 'currentId' => $model->id]); ?> <!-- teasers --> <?php echo \app\components\widgets\AdsWidget::widget(['url' => 'photo/view']); ?> <!-- teasers --> </div> <!-- gallery --> </div> <!-- main -->