From 00dadcd6e0fa091f1302653abc7ec61ef6f6afbe Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 3 Sep 2018 11:16:53 +0200 Subject: [PATCH] remove login and main menus --- ascribe/assets/_src/js/ascribe.js | 33 ------------------------------- ascribe/template-blogheader.php | 12 ----------- ascribe/template-header.php | 18 ----------------- ascribe/template-tour.php | 16 --------------- 4 files changed, 79 deletions(-) diff --git a/ascribe/assets/_src/js/ascribe.js b/ascribe/assets/_src/js/ascribe.js index 8e34ac2..89b0bef 100644 --- a/ascribe/assets/_src/js/ascribe.js +++ b/ascribe/assets/_src/js/ascribe.js @@ -11,7 +11,6 @@ $(document).ready(function(){ slider(); marketplaces(); tourNav(); - mobileNav(); stickyNav(); function tourNav() { @@ -74,35 +73,3 @@ function stickyNav() { } }); } - - -function mobileNav() { - - var hamburger = $('.hamburger'), - popup = $('.mobile-nav'); - - hamburger.click(function(e) { - e.preventDefault(); - - // toggle popup - popup.toggleClass('active'); - hamburger.toggleClass('open'); - - // bind the hide controls - $(document).bind('click.hidepopup', function() { - // hide popup - popup.removeClass('active'); - hamburger.removeClass('open'); - // unbind the hide controls - $(document).unbind('click.hidepopup'); - }); - - // dont close thepop when you click on thepop - popup.on('click', function(e) { - e.stopPropagation(); - }); - - // and dont close thepop now - e.stopPropagation(); - }); -} diff --git a/ascribe/template-blogheader.php b/ascribe/template-blogheader.php index 8a13697..598f25b 100644 --- a/ascribe/template-blogheader.php +++ b/ascribe/template-blogheader.php @@ -24,18 +24,6 @@ require 'controller/init.php'; alt="ascribe logo" class="logo phone-only"> - - -
- 'main-footer-menu', 'container' => false ) ); ?> -
diff --git a/ascribe/template-header.php b/ascribe/template-header.php index db6699b..ac6bd80 100644 --- a/ascribe/template-header.php +++ b/ascribe/template-header.php @@ -25,24 +25,6 @@ require 'controller/init.php'; alt="ascribe logo" class="logo phone-only"> - - - - -
-
- 'main-footer-menu', 'container' => false ) ); ?>
diff --git a/ascribe/template-tour.php b/ascribe/template-tour.php index a22a674..9eaa147 100644 --- a/ascribe/template-tour.php +++ b/ascribe/template-tour.php @@ -31,28 +31,12 @@ $controller = new Controller(); class="logo phone-only"> - -

-
- 'main-footer-menu', 'container' => false ) ); ?> -