From 5c1a639e563be1146da8121f7cebaadb39bbfcb4 Mon Sep 17 00:00:00 2001 From: "arlemp@selectel.ru" Date: Thu, 23 Dec 2021 22:44:35 +0300 Subject: [PATCH] add contacts mobile menu --- blocks/gamburger.php | 14 +++++++++++++- blocks/social-buttons.php | 16 ++++++++++++++++ footer.php | 13 ------------- header.php | 2 +- index.php | 15 +++++++++++++++ style.css | 24 +++++++++++++++++++++++- 6 files changed, 68 insertions(+), 16 deletions(-) create mode 100644 blocks/social-buttons.php diff --git a/blocks/gamburger.php b/blocks/gamburger.php index 58941a7..a35b1f1 100644 --- a/blocks/gamburger.php +++ b/blocks/gamburger.php @@ -26,8 +26,20 @@ else{
  • title?>
  • + - + + +
    +
    +7 (495) 925 06 34
    + +
    + +
    + + + +
    'main_main', diff --git a/blocks/social-buttons.php b/blocks/social-buttons.php new file mode 100644 index 0000000..d5b7a59 --- /dev/null +++ b/blocks/social-buttons.php @@ -0,0 +1,16 @@ +
    + + + + + + + + + + +
    \ No newline at end of file diff --git a/footer.php b/footer.php index 444d9a6..af82108 100644 --- a/footer.php +++ b/footer.php @@ -110,19 +110,6 @@ -
    - - - - -
    - -
    - - - -
    -
    diff --git a/header.php b/header.php index 089453e..5295016 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 b1d73f7..a02c485 100644 --- a/index.php +++ b/index.php @@ -71,9 +71,24 @@ $nn = 0;?> 'mob-lite']);?> + 'mob-lite']);?> + + + 'mob-lite']);?> + +
    diff --git a/style.css b/style.css index ede27c1..c1d7c7f 100644 --- a/style.css +++ b/style.css @@ -1921,7 +1921,7 @@ span.rub_back_title{ border-bottom: 1px solid #F5F5F5; margin-top: 22px; padding-bottom: 22px; - margin-bottom: 8px; + margin-bottom: 28px; } #gamburer_menu a{ @@ -2089,6 +2089,28 @@ span.rub_back_title{ margin-top: 12px; } + .mob_menu_info{ + padding-top: 22px; + padding-bottom: 42px; + } + + .mob_menu_contacts{ + display: flex; + flex-flow: row wrap; + justify-content: space-between; + margin-left: 36px; + margin-right: 36px; + padding-top: 22px; + margin-bottom: 42px; + } + + .mob_menu_tel{ + font-weight: bold; + } + + .mob_menu_mail a{ + color: #2D9CDB; + } .post-h1{ font-weight: 24px;