Commit 3ce7b9c2ae9a38ae161a891315f50bd6359b231d
1 parent
63c0fc1c
css edits
Showing
2 changed files
with
16 additions
and
6 deletions
Show diff stats
frontend/views/layouts/main.php
... | ... | @@ -75,6 +75,7 @@ |
75 | 75 | .owl-item .item {position: relative;height: 0;padding-bottom: 59%;max-height: 500px;overflow: hidden;} |
76 | 76 | .owl-item .item .itemimage {position: absolute;width: 100%;height: 100%;background-position: center center;background-size: cover;} |
77 | 77 | .owl-carousel .owl-wrapper-outer{background-color: #e8e7e9;} |
78 | + @media(max-width:767px){.dropdown-menu li a{max-width: 100%;display: block;white-space: normal;}} | |
78 | 79 | </style> |
79 | 80 | </head> |
80 | 81 | <body> |
... | ... | @@ -110,8 +111,15 @@ _________________________________________________________ --> |
110 | 111 | ?> |
111 | 112 | </p> |
112 | 113 | <p class="hidden-md hidden-lg"> |
113 | - <a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a> | |
114 | - <a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a> | |
114 | + <?php | |
115 | + if (!empty($settings->phone)) { | |
116 | + $phone = str_replace(' ', '', $settings->phone); | |
117 | + echo '<a href="tel:'.$phone.'" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>'; | |
118 | + if (!empty($settings->email)) { | |
119 | + echo '<a href="mailto:'.$settings->email.'" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>'; | |
120 | + } | |
121 | + } | |
122 | + ?> | |
115 | 123 | </p> |
116 | 124 | </div> |
117 | 125 | <div class="col-xs-7"> | ... | ... |
frontend/web/css/custom.css
... | ... | @@ -226,8 +226,10 @@ span.panel-title{ |
226 | 226 | background-position: center center; |
227 | 227 | background-size: cover; |
228 | 228 | } |
229 | -.dropdown-menu li a{ | |
230 | - max-width: 100%; | |
231 | - display: block; | |
232 | - white-space: normal; | |
229 | +@media(max-width:767px){ | |
230 | + .dropdown-menu li a{ | |
231 | + max-width: 100%; | |
232 | + display: block; | |
233 | + white-space: normal; | |
234 | + } | |
233 | 235 | } |
234 | 236 | \ No newline at end of file | ... | ... |