From: Laury GvR Date: Thu, 16 Aug 2018 20:43:31 +0000 (-0400) Subject: Add custom link into navigation X-Git-Tag: v1.2.44^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=ed36fb0203334ab741fbd05bd828c7337f32c811;p=WP-Themes%2Fgilmoremuseum.git Add custom link into navigation --- diff --git a/index.html b/index.html index 2fca83e..1faa113 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Gilmore Car Museum - + diff --git a/interior.html b/interior.html index d26c89c..074ed9a 100644 --- a/interior.html +++ b/interior.html @@ -5,7 +5,7 @@ Gilmore Car Museum - + diff --git a/js/app.js b/js/app.js index 501680c..c0e8c43 100644 --- a/js/app.js +++ b/js/app.js @@ -17,4 +17,11 @@ $(document).ready(function () { $(this).toggleClass('open'); $(this).siblings('ul').toggleClass('open'); }); + + var childTarget = $('#page-header .top-bar .top-bar-section > ul:nth-of-type(1) > li:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(5)'); + childTarget.before( $( '' ) ); + + //console.log(dropdownTarget); + + // }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 741d565..3cf3edd 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -8,4 +8,11 @@ $(document).ready(function () { $(this).toggleClass('open'); $(this).siblings('ul').toggleClass('open'); }); + + var childTarget = $('#page-header .top-bar .top-bar-section > ul:nth-of-type(1) > li:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(5)'); + childTarget.before( $( '' ) ); + + //console.log(dropdownTarget); + + // });