This commit is contained in:
Krivchikov Dmitry 2015-12-07 00:59:23 +03:00
parent 2afd42304c
commit 66e8aea2c7
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<div class="container"> <div class="container">
<div class="row elements"> <div class="row elements">
<div class="col-md-2"> <div class="col-md-2">
<h4 class="onlySmallScreen">Новости</h4> <h4 class="onlySmallScreen text-center" style="display: block;">Новости</h4>
<?php foreach ($news as $item) : ?> <?php foreach ($news as $item) : ?>
<div class="element news"> <div class="element news">
<h4><?= $item->title ?></h4> <h4><?= $item->title ?></h4>
@ -11,7 +11,7 @@
<?php endforeach;?> <?php endforeach;?>
</div> </div>
<div class="col-md-5"> <div class="col-md-5">
<h4 class="onlySmallScreen">Точки</h4> <h4 class="onlySmallScreen text-center" style="display: block;">Точки</h4>
<?php foreach ($points as $item) : ?> <?php foreach ($points as $item) : ?>
<div class="element points"> <div class="element points">
<h4><?= $item->name ?></h4> <h4><?= $item->name ?></h4>
@ -26,7 +26,7 @@
<a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a> <a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a>
</div> </div>
<div class="col-md-5"> <div class="col-md-5">
<h4 class="onlySmallScreen">Статьи</h4> <h4 class="onlySmallScreen text-center" style="display: block;">Статьи</h4>
<?php foreach ($articles as $item) : ?> <?php foreach ($articles as $item) : ?>
<div class="element articles"> <div class="element articles">
<h4><?= $item->title ?></h4> <h4><?= $item->title ?></h4>