reverse right column

This commit is contained in:
argoexpert press
2025-06-28 21:59:01 +03:00
parent 0ee471e833
commit 8ee9604061
9 changed files with 35 additions and 12 deletions

View File

@@ -21,10 +21,12 @@ $has_video = isset($args['has_video']) ? $args['has_video'] : false;
<div class="land-cart-title__arrow"></div> <div class="land-cart-title__arrow"></div>
</div> </div>
<?endif?> <?endif?>
<div class="<?=$class; ?><?=$has_video === true ? ' has-video' : ''; ?>"> <div class="<?=$class;?>">
<a href="<?php the_permalink(); ?>" class="article-item__image-container"> <div class="article-item__image-container<?=$has_video === true ? ' has-video' : ''; ?>">
<?=render_webp_picture_by_post( null, 'news-list-picture'); ?> <a href="<?php the_permalink(); ?>">
</a> <?=render_webp_picture_by_post( null, 'news-list-picture'); ?>
</a>
</div>
<div class="article-item__text"> <div class="article-item__text">
<div class="article-time"> <div class="article-time">
<img src="<?= get_asset('/icons/time.svg'); ?>" alt="" /><?php echo $formatted_date; ?> <img src="<?= get_asset('/icons/time.svg'); ?>" alt="" /><?php echo $formatted_date; ?>

View File

@@ -85,4 +85,14 @@ button {
.btn_download{ .btn_download{
border: 2px solid black; border: 2px solid black;
}
@media (max-width: 768px) {
body, html {
width: 100%;
max-width: 100%;
}
} }

View File

@@ -35,3 +35,13 @@
font-weight: 700; font-weight: 700;
padding: 12px; padding: 12px;
} }
@media (max-width: 768px) {
.agro-widget {
overflow: hidden;
}
}

View File

@@ -64,6 +64,7 @@
.article-item--lg .article-item__image-container img { .article-item--lg .article-item__image-container img {
height: 41.5rem; height: 41.5rem;
max-width: 100%;
} }
.article-item--lg .article-item__text { .article-item--lg .article-item__text {
@@ -135,6 +136,7 @@
.article-item { .article-item {
width: 100%; width: 100%;
max-width: 100%;
} }
.article-item-mob{ .article-item-mob{

View File

@@ -6,5 +6,6 @@
@media (max-width: 767px) { @media (max-width: 767px) {
.container { .container {
padding: 0 2rem; padding: 0 2rem;
max-width: 100%;
} }
} }

View File

@@ -129,6 +129,7 @@
.header__inner { .header__inner {
padding: 1.5rem 0; padding: 1.5rem 0;
max-width: 100%;
} }
.header__logo { .header__logo {

View File

@@ -88,8 +88,7 @@ ul.wp-block-list li{
} }
/** @media (max-width: 1439px) { */ @media (max-width: 1439px) {
@media (min-width: 768px) and (max-width: 1024px) {
.content { .content {
grid-template-columns: 36.4rem 1fr; grid-template-columns: 36.4rem 1fr;
grid-template-areas: grid-template-areas:
@@ -102,7 +101,6 @@ ul.wp-block-list li{
'middle middle' 'middle middle'
'right right'; 'right right';
} }
} }
@media (max-width: 767px) { @media (max-width: 767px) {
@@ -434,4 +432,4 @@ ul.wp-block-list li{
.no-mobile-border { .no-mobile-border {
border: none; border: none;
} }
} }

View File

@@ -6,7 +6,7 @@
<?php get_template_part('rfo/category-end', null, [ <?php get_template_part('rfo/category-end', null, [
'category' => 'opinion', // slug рубрики 'category' => 'opinion', // slug рубрики
'style' => 'short', 'style' => '',
'title' => 'Интервью', 'title' => 'Интервью',
'has_video' => true 'has_video' => true
]);?> ]);?>

View File

@@ -38,10 +38,9 @@ if ( in_category('interviews') ) {
<div class="banner-left desktop"> <div class="banner-left desktop">
<?=krutilka_placement( 'left-desktop-1' );?> <?=krutilka_placement( 'left-desktop-1' );?>
</div> </div>
<?php get_template_part('partials/forest-informer');?> <?php get_template_part('partials/forest-informer');?>
<div class="banner-left desktop"> <div class="banner-left desktop">
<?=krutilka_placement( 'left-desktop-2' );?> <?=krutilka_placement( 'left-desktop-2' );?>
</div> </div>