Commit 81b7cc258b2107ac4c0f6adb67dd889646999052
1 parent
90a014d1
Адаптивные изображения в текстах
Showing
3 changed files
with
5 additions
and
9 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -292,7 +292,7 @@ _________________________________________________________ --> | @@ -292,7 +292,7 @@ _________________________________________________________ --> | ||
292 | ], | 292 | ], |
293 | [ | 293 | [ |
294 | 'label' => \Yii::t('app', 'О нас'), | 294 | 'label' => \Yii::t('app', 'О нас'), |
295 | - 'url' => [ 'o-nas' ], | 295 | + 'url' => [ '/o-nas' ], |
296 | ], | 296 | ], |
297 | ], | 297 | ], |
298 | 'options' => [ | 298 | 'options' => [ |
frontend/views/page/view.php
@@ -70,14 +70,6 @@ | @@ -70,14 +70,6 @@ | ||
70 | </div> | 70 | </div> |
71 | 71 | ||
72 | <!-- *** PAGES MENU END *** --> | 72 | <!-- *** PAGES MENU END *** --> |
73 | - | ||
74 | - | ||
75 | - <div class="banner"> | ||
76 | - <a href="shop-category.html"> | ||
77 | - <img src="/img/banner.jpg" alt="sales 2014" class="img-responsive"> | ||
78 | - </a> | ||
79 | - </div> | ||
80 | - <!-- /.banner --> | ||
81 | </div> | 73 | </div> |
82 | <!-- /.col-md-3 --> | 74 | <!-- /.col-md-3 --> |
83 | 75 |
frontend/web/css/custom.css
@@ -164,4 +164,8 @@ span.price-text{ | @@ -164,4 +164,8 @@ span.price-text{ | ||
164 | color: #333333; | 164 | color: #333333; |
165 | font-weight: bold; | 165 | font-weight: bold; |
166 | font-size: 36px; | 166 | font-size: 36px; |
167 | +} | ||
168 | +#text-page img{ | ||
169 | + max-width: 100%; | ||
170 | + height: auto; | ||
167 | } | 171 | } |
168 | \ No newline at end of file | 172 | \ No newline at end of file |