From e467080e6efead0d159382f849392662ce17cc41 Mon Sep 17 00:00:00 2001 From: "arlemp@selectel.ru" Date: Sat, 25 Dec 2021 00:10:28 +0300 Subject: [PATCH] correct play icons and eng menu --- blocks/gamburger.php | 5 ++--- blocks/mainnews.php | 6 +++++- category.php | 11 ++++++++--- footer.php | 41 ++++++++++++++++++++++++----------------- header.php | 2 +- index.php | 3 ++- lang.php | 2 ++ style.css | 17 ++++++++++++++++- 8 files changed, 60 insertions(+), 27 deletions(-) diff --git a/blocks/gamburger.php b/blocks/gamburger.php index b7e9809..512cc6c 100644 --- a/blocks/gamburger.php +++ b/blocks/gamburger.php @@ -2,19 +2,18 @@ if (LANG_VERSION == 'en'){ $left_mob_menu = 'leftenmenu'; - $gamburger_menu = 4789; + $part_title = 'Parts'; } else{ $left_mob_menu = 'leftmenu'; - $gamburger_menu = 23; $part_title = 'Рубрики'; } //$menu_items = wp_get_nav_menu_items($gamburger_menu);?> - +
diff --git a/blocks/mainnews.php b/blocks/mainnews.php index 5765a2d..63db69b 100644 --- a/blocks/mainnews.php +++ b/blocks/mainnews.php @@ -17,7 +17,11 @@ if ( $q->have_posts() ) : diff --git a/category.php b/category.php index 434a77b..a0b6d69 100644 --- a/category.php +++ b/category.php @@ -27,8 +27,12 @@ $nn = 0;?>
- <?the_title();?> -
+ <?the_title();?> + + + + +

@@ -46,10 +50,11 @@ $nn = 0;?>
- <?the_title();?> + <?the_title();?> +

diff --git a/footer.php b/footer.php index 710785f..20a0eae 100644 --- a/footer.php +++ b/footer.php @@ -108,29 +108,36 @@
-
- - - - -
+ - 'mob-lite']);?> + - +
+ + + +
+ + + 'mob-lite']);?> + +
+ + + +
+ - + +
+ + + +
+ diff --git a/header.php b/header.php index d482343..04df308 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?> - + diff --git a/index.php b/index.php index 1809bf0..27a75e6 100644 --- a/index.php +++ b/index.php @@ -39,10 +39,11 @@ $nn = 0;?>
- <?the_title();?> + <?the_title();?> +

diff --git a/lang.php b/lang.php index 7fe0d7d..272d5e4 100644 --- a/lang.php +++ b/lang.php @@ -8,6 +8,7 @@ function vij_lang($name, $lan){ 'path_logo' => '/pub/logo/vij_logo.svg', 'mainmenu' => 'topmenu', 'mob_main_menu' => 'mob_rubrics', + 'gamburger' => 23, 'btn_lan' => 'EN', 'btn_lan_link' => '/en/', 'alt_logo' => 'Ветеринария и жизнь. Информационный портал и газета', @@ -32,6 +33,7 @@ function vij_lang($name, $lan){ 'path_logo' => '/pub/logo/vl_logo.svg', 'mainmenu' => 'topenmenu', 'mob_main_menu' => 'topenmenu', + 'gamburger' => 4838, 'btn_lan' => 'РУС', 'btn_lan_link' => '/', 'alt_logo' => 'Veterinary Medicine and Life. Online news outlet and newspaper', diff --git a/style.css b/style.css index 173770f..7455e7a 100644 --- a/style.css +++ b/style.css @@ -1115,9 +1115,24 @@ a{ } +.play-card-main{ + position: absolute; + display: block; + background: url(https://vetandlife.ru/wp-content/themes/vij/pub/play.png); + height: 100%; + width: 100%; + top: 43%; + left: 45%; + background-size: 50px 50px; + background-repeat: no-repeat; +} + + .card-img-top{ - text-align: center; + /**text-align: center; + width: 100%; */ + position: relative; width: 100%; margin-bottom: 12px; }