correct mobile version

This commit is contained in:
arlemp@selectel.ru
2021-12-15 21:11:53 +03:00
parent 9ee40dae64
commit 989b02dbbc
3 changed files with 11 additions and 7 deletions

View File

@@ -23,8 +23,10 @@ if( $posts ):
<div class="mobile_archive">
<a href="<?php the_permalink(); ?>"><img width="91" class="mobile_archive_img" src="<?php echo get_the_post_thumbnail_url($post, 'fil');?>" alt="<?the_title();?>"></a>
<div class="mobile_archive_text">
<div><strong><a href="<?php the_permalink(); ?>">Читать газету<br>«Ветеринария и Жизнь»</a></strong></div>
<div><strong><a href="<?php the_permalink(); ?>"><?=vij_lang('gazeta', LANG_VERSION);?></a></strong></div>
<?if (LANG_VERSION == 'ru'):?>
<div class="mobile_archive_link"><a href="<?php the_permalink(); ?>"><?=the_title();?></a></div>
<?endif?>
</div>
</div>
@@ -39,15 +41,15 @@ endif;?>
<div class="mob-subscript">
<div class="mob-block-button">
<a class="mob-sub-button" href="https://vetandlife.ru/subscripts">Газета ВиЖ. Оформить подписку</a>
<a class="mob-sub-button" href="https://vetandlife.ru/subscripts"><?=vij_lang('subscript_btn', LANG_VERSION)?></a>
</div>
<div class="right_title">Подпишитесь на&nbsp;нашу рассылку и&nbsp;будьте в&nbsp;курсе всех новостей</div>
<div class="right_title"><?=vij_lang('email_title', LANG_VERSION)?></div>
<div id="subscript-mail">
<form class="form-right" action="https://login.sendpulse.com/forms/simple/u/eyJ1c2VyX2lkIjo3NjMwNTYzLCJhZGRyZXNzX2Jvb2tfaWQiOjIyNjM5NCwibGFuZyI6InJ1In0=" method="post">
<input сlass="frm_mail" type="email" required="" name="email" placeholder="Ваша почта">
<input сlass="frm_mail" type="email" required="" name="email" placeholder="<?=vij_lang('your_mail', LANG_VERSION)?>">
<input type="hidden" name="sender" value="info@vetandlife.ru">
<button class="frm_submit">Подписаться</button>
<button class="frm_submit"><?=vij_lang('email_btn', LANG_VERSION)?></button>
</form>
</div>

View File

@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=102">
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=103">
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>

View File

@@ -1103,6 +1103,7 @@ a{
.mobile_archive{
display: none;
margin-top: 18px;
}
@@ -1943,6 +1944,7 @@ span.rub_back_title{
.mob-subscript{
display: none;
margin-top: 12px;
}