This commit is contained in:
Sergey Krylov 2021-04-03 15:51:46 +03:00
parent 1ac87ee91a
commit e4b1ae7c5b
3 changed files with 46 additions and 2 deletions

View File

@ -2,4 +2,7 @@
<div class="quests-overlay"></div> <div class="quests-overlay"></div>
<h1><?php the_title() ?></h1> <h1><?php the_title() ?></h1>
<h2><?php the_field('page_description')?></h2> <h2><?php the_field('page_description')?></h2>
<?php if(is_page('24')){ ?>
<button class="btn btn-danger btn-round holiday-header-btn" id="header-btn">Заказать со скидкой от 20%</button>
<?php } ?>
</div> </div>

View File

@ -0,0 +1,42 @@
.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;
}

View File

@ -7,8 +7,7 @@
<?php <?php
get_header(); get_header();
get_template_part('parts/quests/single/slider'); get_template_part('parts/quests/single/slider');
get_template_part('parts/quests/single/description'); get_template_part('parts/quests/single/description'); ?>
// get_template_part('parts/map-block' );?>
<div class="quest__booking container"> <div class="quest__booking container">
<?php the_field('quest_booking')?> <?php the_field('quest_booking')?>
</div> </div>