From b5cf99380a02ec36454c2cdfafd3633ca01ae42e Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 26 May 2017 16:41:08 -0400 Subject: [PATCH] Thumbnail size change for the dropdown --- functions.php | 1 + lib/menu-walker.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"; -- 2.17.1