fixed scroll images

This commit is contained in:
2022-04-11 22:13:36 +03:00
parent 25df0b2c10
commit eb335f8d52
5 changed files with 286 additions and 30 deletions

View File

@@ -40,14 +40,15 @@ $nn = 0;?>
<?if ($nn == 10):?>
<?card_post_id(18170, 'до 31 марта 2022 года')?>
<?card_post_id(20427, 'до 13 апреля 2022 года')?>
<?endif?>
<div class="mini-card">
<?if ( has_post_thumbnail() ) :?>
<div class="mini-card-img">
<a href="<?the_permalink();?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(); ?>" alt="<?the_title();?>">
<a href="<?the_permalink();?>">
<img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(null, 'large'); ?>" alt="<?the_title();?>">
<?if( has_tag( 'видео' ) ):?>
<span class="play-card"></span>
<?endif?>