Лагерь: Заголовки H2, мелкие баги

This commit is contained in:
Dekart Deploy Bot 2026-05-09 23:47:28 +03:00
parent 0c353e9bf0
commit 50b732ac10
2 changed files with 8 additions and 16 deletions

View File

@ -32,13 +32,12 @@ p {
}
.camp_title {
font-family: "Oswald", sans-serif;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
color: #212121;
font-size: 45px;
color: #1c2b2d;
font-size: 34px;
line-height: 1.25;
font-weight: 400;
padding-bottom: 45px;
padding-bottom: 32px;
}
.camp_text {
@ -725,7 +724,7 @@ p {
}
.part-day__price_price {
font-size: 45px;
font-size: 34px;
line-height: 1;
font-weight: 600;
}
@ -2415,13 +2414,6 @@ p {
text-align: center;
}
}
.hero-media-search .heading-1 span {
font-family: 'Poppins', sans-serif;
font-weight: 600;
display: block;
letter-spacing: -1.68px;
line-height: 1.2;
}
.hero-subtitle-brand {
font-family: "Inter", sans-serif;
@ -2444,6 +2436,7 @@ p {
font-size: 2rem; /* 32px */
text-align: center;
}
.camp_title { font-size: 26px; padding-bottom: 24px; }
}

View File

@ -6,7 +6,6 @@ Template Name: Шаблон страницы Лагерь
<?php
get_header();
$term = get_queried_object();
$post_id = get_the_ID();
$priceMin = 1000000;
@ -86,7 +85,7 @@ $metrics = [
<div class="hero-media-search__media">
<div class="hero-media-search__frame">
<?php if ( $hero['image_id'] ) : ?>
<?php echo wp_get_attachment_image( $hero['image_id'], 'large', false, [
<?php echo wp_get_attachment_image( $hero['image_id'], 'full', false, [
'class' => 'hero-media-search__image',
'fetchpriority' => 'high',
'loading' => 'eager',
@ -132,7 +131,7 @@ $metrics = [
<?php
$about_img_id = carbon_get_post_meta( $post_id, 'about_us_img' );
if ( $about_img_id ) :
echo wp_get_attachment_image( $about_img_id, 'medium_large', false, [
echo wp_get_attachment_image( $about_img_id, 'large', false, [
'class' => 'about-us__image',
'loading' => 'lazy',
'alt' => 'Фото детского лагеря Декарт'