little fix
This commit is contained in:
parent
958f87722b
commit
3e687e19e7
25
footer.php
25
footer.php
@ -1,26 +1,5 @@
|
|||||||
<div class="callback-modal">
|
|
||||||
<div class="callback-modal__layout"></div>
|
<footer class="footer">
|
||||||
<div class="callback-modal__body">
|
|
||||||
<div class="callback-modal__close"><i class="fa fa-times" aria-hidden="true"></i></div>
|
|
||||||
<form method="POST" action="<?php echo admin_url('admin-ajax.php?action=send_callback')?>">
|
|
||||||
<h2>Заказать звонок</h2>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="callback-name">Ваше имя</label>
|
|
||||||
<input type="text" class="form-control" id="callback-name" required>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="callback-phone">Ваш телефон</label>
|
|
||||||
<input type="tel" class="form-control" id="callback-phone" required>
|
|
||||||
</div>
|
|
||||||
<button type="submit" class="btn btn-danger">Подтвердить</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<footer class="footer <?php
|
|
||||||
// if( is_home() || is_page(8) || is_page(24) || is_page(35) || is_page(56) || is_page(33) ){
|
|
||||||
// echo 'footer-in-home';
|
|
||||||
// }
|
|
||||||
?>">
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<img src="<?php echo get_template_directory_uri() ?>/assets/img/armanty_logo.png" alt="logo" class="row">
|
<img src="<?php echo get_template_directory_uri() ?>/assets/img/armanty_logo.png" alt="logo" class="row">
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
@ -8,7 +8,6 @@
|
|||||||
$item = 'adding_' . ($x + 1);
|
$item = 'adding_' . ($x + 1);
|
||||||
if( have_rows($item, 24) ):
|
if( have_rows($item, 24) ):
|
||||||
while( have_rows($item, 24) ): the_row();
|
while( have_rows($item, 24) ): the_row();
|
||||||
// Get sub field values.
|
|
||||||
$image = get_sub_field('adding_img_' . ($x + 1));
|
$image = get_sub_field('adding_img_' . ($x + 1));
|
||||||
$text = get_sub_field('adding_text_' . ($x + 1));
|
$text = get_sub_field('adding_text_' . ($x + 1));
|
||||||
|
|
||||||
@ -25,5 +24,4 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- <a href="#" download id=""><button class="btn btn-danger btn-round">Каталог Дополнительных услуг</button></a> -->
|
|
||||||
</div>
|
</div>
|
||||||
@ -1,16 +1,6 @@
|
|||||||
<div class="holiday-photos holiday-block">
|
<div class="holiday-photos holiday-block">
|
||||||
<h2><?php the_field('step-head-4', 24)?></h2>
|
<h2><?php the_field('step-head-4', 24)?></h2>
|
||||||
<p><?php the_field('step-descr-4', 24)?></p>
|
<p><?php the_field('step-descr-4', 24)?></p>
|
||||||
<!-- <div class="row justify-content-between">
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/1.jpg" alt="photo"></div>
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/2.jpg" alt="photo"></div>
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/3.jpg" alt="photo"></div>
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/4.jpg" alt="photo"></div>
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/4.jpg" alt="photo"></div>
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/3.jpg" alt="photo"></div>
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/2.jpg" alt="photo"></div>
|
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12"><img src="<?php echo get_template_directory_uri() ?>/assets/img/holiday/photos/1.jpg" alt="photo"></div>
|
|
||||||
</div> -->
|
|
||||||
<?php
|
<?php
|
||||||
echo do_shortcode('[print_gllr id=312]');
|
echo do_shortcode('[print_gllr id=312]');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -13,3 +13,7 @@ div.places.places_home, div.places_home .places-layout {
|
|||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@import '../parts/header';
|
||||||
|
@import '../parts/callback-modal';
|
||||||
|
@import '../parts/footer';
|
||||||
|
|||||||
40
src/sass/parts/callback-modal.scss
Normal file
40
src/sass/parts/callback-modal.scss
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
.callback-modal {
|
||||||
|
display: none;
|
||||||
|
height: 100vh;
|
||||||
|
|
||||||
|
&__layout {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 999999;
|
||||||
|
width: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
&__body {
|
||||||
|
position: fixed;
|
||||||
|
top: 100px;
|
||||||
|
left: 50%;
|
||||||
|
z-index: 9999999;
|
||||||
|
max-width: 300px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 10px 20px 25px;
|
||||||
|
border-radius: 5px;
|
||||||
|
background: #ffffff;
|
||||||
|
color: #303133;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&__close {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
i {
|
||||||
|
font-size: 20px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -5,9 +5,6 @@
|
|||||||
@import './fonts';
|
@import './fonts';
|
||||||
@import './constansts';
|
@import './constansts';
|
||||||
|
|
||||||
@import 'parts/header';
|
|
||||||
@import 'parts/footer';
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -124,46 +121,7 @@ body {
|
|||||||
transform: translateY(10px);
|
transform: translateY(10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.callback-modal {
|
|
||||||
display: none;
|
|
||||||
height: 100vh;
|
|
||||||
|
|
||||||
&__layout {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 999999;
|
|
||||||
width: 100%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.6);
|
|
||||||
}
|
|
||||||
|
|
||||||
&__body {
|
|
||||||
position: fixed;
|
|
||||||
top: 100px;
|
|
||||||
left: 50%;
|
|
||||||
z-index: 9999999;
|
|
||||||
max-width: 300px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 10px 20px 25px;
|
|
||||||
border-radius: 5px;
|
|
||||||
background: #ffffff;
|
|
||||||
color: #303133;
|
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
||||||
transform: translateX(-50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
&__close {
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
i {
|
|
||||||
font-size: 20px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.gllr_image_block {
|
.gllr_image_block {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
@ -478,3 +436,46 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main .slider-mobile {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 576px) {
|
||||||
|
.main .slider-mobile {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .slider-desktop{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.packages-item {
|
||||||
|
padding: 25px 23px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.places .places-description {
|
||||||
|
font-size: 16px!important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.places .places-description {
|
||||||
|
font-size: 24px;
|
||||||
|
letter-spacing: .5px;
|
||||||
|
text-align: center;
|
||||||
|
color: #1e212b;
|
||||||
|
max-width: 940px;
|
||||||
|
margin: 20px auto;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.places .places-description + div {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.btn.holiday-header-btn {
|
||||||
|
padding: 5px 10px !important;
|
||||||
|
font-size: 15px !important;
|
||||||
|
z-index: 2 !important;
|
||||||
|
margin-top: 10px !important;
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|||||||
43
style.css
43
style.css
@ -1,43 +0,0 @@
|
|||||||
.main .slider-mobile {
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 576px) {
|
|
||||||
.main .slider-mobile {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main .slider-desktop{
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.packages-item {
|
|
||||||
padding: 25px 23px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.places .places-description {
|
|
||||||
font-size: 16px!important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.places .places-description {
|
|
||||||
font-size: 24px;
|
|
||||||
letter-spacing: .5px;
|
|
||||||
text-align: center;
|
|
||||||
color: #1e212b;
|
|
||||||
max-width: 940px;
|
|
||||||
margin: 20px auto;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.places .places-description + div {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button.btn.holiday-header-btn {
|
|
||||||
padding: 5px 10px !important;
|
|
||||||
font-size: 15px !important;
|
|
||||||
z-index: 2 !important;
|
|
||||||
margin-top: 10px !important;
|
|
||||||
text-transform: none;
|
|
||||||
}
|
|
||||||
@ -13,9 +13,9 @@
|
|||||||
<div class="wave">
|
<div class="wave">
|
||||||
<?php get_template_part('parts/certificates/target'); ?>
|
<?php get_template_part('parts/certificates/target'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
|
||||||
|
|
||||||
get_template_part('parts/certificates/items');
|
<?php
|
||||||
|
get_template_part('parts/certificates/items');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wave wave-no-top wave-no-bottom" style="background-color: #f2f2f2">
|
<div class="wave wave-no-top wave-no-bottom" style="background-color: #f2f2f2">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user