Commit a678b431fcc0c6b86113e843e23f17168150ad07
1 parent
a9898ee1
правки
Showing
2 changed files
with
4 additions
and
3 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -155,7 +155,7 @@ | @@ -155,7 +155,7 @@ | ||
155 | class="static_logo_img" | 155 | class="static_logo_img" |
156 | > | 156 | > |
157 | </a> | 157 | </a> |
158 | - <div class="static_logo_about"><?= \Yii::t('app', $settings->about); ?></div> | 158 | + <a href="/" class="static-about-link"><div class="static_logo_about"><?= \Yii::t('app', $settings->about); ?></div></a> |
159 | <div class="navbar-buttons"> | 159 | <div class="navbar-buttons"> |
160 | <button type="button" class="navbar-toggle btn-template-main" data-toggle="collapse" data-target="#navigation"> | 160 | <button type="button" class="navbar-toggle btn-template-main" data-toggle="collapse" data-target="#navigation"> |
161 | <span class="sr-only">Toggle navigation</span> | 161 | <span class="sr-only">Toggle navigation</span> |
frontend/web/css/main.css
@@ -56,6 +56,7 @@ body{position:relative;} | @@ -56,6 +56,7 @@ body{position:relative;} | ||
56 | } | 56 | } |
57 | .why-us .button1{width: 190px;} | 57 | .why-us .button1{width: 190px;} |
58 | .static_logo_img{width:85px;} | 58 | .static_logo_img{width:85px;} |
59 | +.static-about-link{color:#000;text-decoration: none;} | ||
59 | .static_logo_about{ | 60 | .static_logo_about{ |
60 | font-family: Arial, sans-serif!important; | 61 | font-family: Arial, sans-serif!important; |
61 | transition: 0.3s; | 62 | transition: 0.3s; |
@@ -747,7 +748,7 @@ ul.list-wr span{color: #555;} | @@ -747,7 +748,7 @@ ul.list-wr span{color: #555;} | ||
747 | .head_video_buttons .button1, .head_video_buttons .button2{float:none!important;display:block!important;} | 748 | .head_video_buttons .button1, .head_video_buttons .button2{float:none!important;display:block!important;} |
748 | .navbar-brand.home{width: 100px;} | 749 | .navbar-brand.home{width: 100px;} |
749 | .static_logo_img {width: 100%;} | 750 | .static_logo_img {width: 100%;} |
750 | - .static_logo_about{display:none;} | 751 | + .static-about-link, .static_logo_about{display:none;} |
751 | .navbar ul.nav > li > a{letter-spacing: -0.5px!important;padding: 0px 8px 2px!important;} | 752 | .navbar ul.nav > li > a{letter-spacing: -0.5px!important;padding: 0px 8px 2px!important;} |
752 | .navbar ul.nav > li > a:after{width: calc(100% - 16px)!important;left: 8px!important;} | 753 | .navbar ul.nav > li > a:after{width: calc(100% - 16px)!important;left: 8px!important;} |
753 | .about .smi_right .post{width:100%;} | 754 | .about .smi_right .post{width:100%;} |
@@ -867,7 +868,7 @@ ul.list-wr span{color: #555;} | @@ -867,7 +868,7 @@ ul.list-wr span{color: #555;} | ||
867 | .navbar ul.nav > li > a:hover {border-color:#fff;background:initial;} | 868 | .navbar ul.nav > li > a:hover {border-color:#fff;background:initial;} |
868 | } | 869 | } |
869 | @media(min-width:768px) and (max-width:991px){ | 870 | @media(min-width:768px) and (max-width:991px){ |
870 | - .static_logo_about{display:none;} | 871 | + .static-about-link, .static_logo_about{display:none;} |
871 | .navbar-header{width: 57px;} | 872 | .navbar-header{width: 57px;} |
872 | .navbar-brand.home{width:100%;margin:0;padding:0;} | 873 | .navbar-brand.home{width:100%;margin:0;padding:0;} |
873 | .navbar-brand.home img{width: 75px;} | 874 | .navbar-brand.home img{width: 75px;} |