From: Laury GvR Date: Fri, 26 May 2017 20:41:08 +0000 (-0400) Subject: Thumbnail size change for the dropdown X-Git-Tag: v1.0.0^2~57 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b5cf99380a02ec36454c2cdfafd3633ca01ae42e;p=WP-Themes%2Fmichigantrailmaps.git Thumbnail size change for the dropdown --- diff --git a/functions.php b/functions.php index d0fa9f6..6f53109 100644 --- a/functions.php +++ b/functions.php @@ -195,6 +195,7 @@ add_action('init', 'mytheme_init', 10); function wpse_setup_theme() { add_image_size('glm-block-image', 290, 190,true); + add_image_size('nav-featured-product-thumb', 100, 120,true); } add_action( 'after_setup_theme', 'wpse_setup_theme' ); diff --git a/lib/menu-walker.php b/lib/menu-walker.php index 7715cb2..652934b 100644 --- a/lib/menu-walker.php +++ b/lib/menu-walker.php @@ -74,7 +74,7 @@ class Glm_Theme_Top_Bar_Walker extends Walker_Nav_Menu { $output .= "\n
  • \n"; $output .= "\n
    \n"; $output .= "\n

    Featured Product

    \n"; - $output .= "\n\n"; + $output .= "\n\n"; $output .= "\nID ) . "\">Buy Now\n"; $output .="\n
    \n"; $output .="\n
  • \n";