diff --git a/frontend/dist/assets/main.css b/frontend/dist/assets/main.css index 362dc95..50cf603 100644 --- a/frontend/dist/assets/main.css +++ b/frontend/dist/assets/main.css @@ -1591,15 +1591,6 @@ button { } -.wp-authors{ - position: relative !important; -} - -.wp-authors IMG{ - height: auto; -} - - .edition-title{ font-weight: 700; font-size: 2rem; @@ -1663,17 +1654,22 @@ button { @media (max-width: 767px) { .banner--header { - height: 8rem; - position: relative; + display: block; + max-width: 767px; + width: 100%; + /* height: 8rem; + position: relative; */ + } .banner--header img { - position: absolute; + width: 100%; + height: auto; + /*position: absolute; left: 50%; top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - max-height: 100%; + transform: translate(-50%, -50%); + max-height: 100%;*/ } }.breadcrumbs { background: #fff; diff --git a/frontend/src/styles/components/banner.css b/frontend/src/styles/components/banner.css index 4cbd3b5..d1ff06f 100644 --- a/frontend/src/styles/components/banner.css +++ b/frontend/src/styles/components/banner.css @@ -21,15 +21,21 @@ @media (max-width: 767px) { .banner--header { - height: 8rem; - position: relative; + display: block; + max-width: 767px; + width: 100%; + /* height: 8rem; + position: relative; */ + } .banner--header img { - position: absolute; + width: 100%; + height: auto; + /*position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); - max-height: 100%; + max-height: 100%;*/ } } \ No newline at end of file diff --git a/functions.php b/functions.php index 292fd8e..bceeb72 100644 --- a/functions.php +++ b/functions.php @@ -738,7 +738,7 @@ function my_custom_mail_sent( $contact_form ){ $subject = 'Подписка на рассылку АгроЭксперт'; $message = " Здравствуйте!\n -Для подтверждения подписки на нашу рассылку перейдите по ссылке ниже\n +Для подтверждения подписки на рассылку издания «АгроЭксперт» перейдите по ссылке ниже:\n $hash_link.\n\n Если вы не отправляли заявку просто проигнорируйте это письмо.";