From: Laury GvR Date: Thu, 16 Aug 2018 20:49:10 +0000 (-0400) Subject: Move custom link a few spaces down in dropdown X-Git-Tag: v1.2.45^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=608e5205b68c4f6762d41d925fe39b9810209514;p=WP-Themes%2Fgilmoremuseum.git Move custom link a few spaces down in dropdown --- diff --git a/js/app.js b/js/app.js index c0e8c43..e021796 100644 --- a/js/app.js +++ b/js/app.js @@ -18,7 +18,7 @@ $(document).ready(function () { $(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)'); + 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(7)'); childTarget.before( $( '' ) ); //console.log(dropdownTarget); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 3cf3edd..c242d21 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -9,7 +9,7 @@ $(document).ready(function () { $(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)'); + 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(7)'); childTarget.before( $( '' ) ); //console.log(dropdownTarget);