From: Anthony Talarico Date: Mon, 11 Jan 2016 14:03:11 +0000 (-0500) Subject: adjusting max height for menu item X-Git-Tag: v1.0.0^2~77 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b9092b0ec55d3121aca37546533696202a53dfce;p=WP-Themes%2Fotsego.git adjusting max height for menu item --- diff --git a/js/app.js b/js/app.js index 8f5dccb..e2b73f6 100644 --- a/js/app.js +++ b/js/app.js @@ -68,13 +68,14 @@ $(document).ready(function () { .children("li") .eq(5) .children("ul.sub-menu.dropdown"); + // adjusting nav menu columns and li width $menu1 .css("max-height", "235px"); $menu2 .css("-moz-columns", "2") .css("-webkit-columns", "2") -// .css("max-height", "165px"); + .css("max-height", "165px"); $menu2 .children("li.menu-item") .css("width", "300px"); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index c78fd20..29fbb3d 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -59,13 +59,14 @@ $(document).ready(function () { .children("li") .eq(5) .children("ul.sub-menu.dropdown"); + // adjusting nav menu columns and li width $menu1 .css("max-height", "235px"); $menu2 .css("-moz-columns", "2") .css("-webkit-columns", "2") -// .css("max-height", "165px"); + .css("max-height", "165px"); $menu2 .children("li.menu-item") .css("width", "300px");