diff --git a/assets/images/logotype-dark-blue.png b/assets/images/logotype-dark-blue.png new file mode 100644 index 0000000..6a42303 Binary files /dev/null and b/assets/images/logotype-dark-blue.png differ diff --git a/assets/images/slowtwitch-ball-dark-blue.png b/assets/images/slowtwitch-ball-dark-blue.png new file mode 100644 index 0000000..453d6c2 Binary files /dev/null and b/assets/images/slowtwitch-ball-dark-blue.png differ diff --git a/assets/js/st-nav.js b/assets/js/st-nav.js index 54cac1c..d672d83 100644 --- a/assets/js/st-nav.js +++ b/assets/js/st-nav.js @@ -33,6 +33,7 @@ const siteTitle = document.querySelector('.st-site-title'); const siteTitleBall = document.querySelector('.st-site-title__ball'); const header = document.querySelector('.st-header'); const topper = document.querySelector('.st-article-section-topper'); +const desktopNavLinks = document.querySelector('.st-desktop-nav-links'); let lastScrollPosition = 0; const scrollDepthActivationPoint = 80; @@ -45,6 +46,7 @@ window.addEventListener('scroll', function(event) { header.classList.remove('st-header-scrolled'); siteTitleBall.classList.remove('st-title-scrolled__ball'); topper.classList.remove('st-article-section-topper-scrolled'); + desktopNavLinks.classList.remove('st-desktop-nav-links-scrolled'); } else { if(lastScrollPosition < scrollDepthActivationPoint) { iconBar.classList.add('st-icon-bar-sticky'); @@ -52,6 +54,7 @@ window.addEventListener('scroll', function(event) { header.classList.add('st-header-scrolled'); siteTitleBall.classList.add('st-title-scrolled__ball'); topper.classList.add('st-article-section-topper-scrolled'); + desktopNavLinks.classList.add('st-desktop-nav-links-scrolled'); } } diff --git a/functions.php b/functions.php index aff0d1b..7471165 100644 --- a/functions.php +++ b/functions.php @@ -24,7 +24,8 @@ add_action( 'init', 'slowtwitch_menus' ); function slowtwitch_menus() { $locations = array( 'primary' => 'Primary Menu', - 'footer' => 'Footer Menu' + 'footer' => 'Footer Menu', + 'desktop-nav' => 'Desktop Nav Menu' ); register_nav_menus($locations); diff --git a/header.php b/header.php index 4428c1c..845d683 100644 --- a/header.php +++ b/header.php @@ -23,6 +23,17 @@
+ 'desktop-nav', + 'container' => '', + 'theme_location' => 'primary', + 'items_wrap' => '' + ) + ); + ?> + forum shop @@ -32,10 +43,10 @@