From: Anthony Talarico Date: Wed, 27 Jan 2016 18:33:54 +0000 (-0500) Subject: adjustin hover radius of menu items X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c0ddb9787a8350d94da2c21c6d4ef476c79c5c27;p=WP-Themes%2Fglmthemes%2Fsaultstemarie-theme.git adjustin hover radius of menu items --- diff --git a/js/app.js b/js/app.js index 948ae96..25559d3 100644 --- a/js/app.js +++ b/js/app.js @@ -200,9 +200,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat $(".menu-icon").on("click", function () { window.scrollTo(0,0); }); - var $topMenu = $("ul#menu-top-menu li > a"); + var $topMenuAnchor = $("ul#menu-top-menu li > a"); + var $topMenu = $("ul#menu-top-menu li"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { - $($topMenu).css("background", "none").css("font-size", "16px"); + $($topMenuAnchor).css("background", "none").css("font-size", "16px"); $($topMenu).mouseenter( function () { $(this).css("background", "white") ; }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 4e52458..414a9bb 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -191,9 +191,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat $(".menu-icon").on("click", function () { window.scrollTo(0,0); }); - var $topMenu = $("ul#menu-top-menu li > a"); + var $topMenuAnchor = $("ul#menu-top-menu li > a"); + var $topMenu = $("ul#menu-top-menu li"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { - $($topMenu).css("background", "none").css("font-size", "16px"); + $($topMenuAnchor).css("background", "none").css("font-size", "16px"); $($topMenu).mouseenter( function () { $(this).css("background", "white") ; });