I made a new graphic
authorIan Weller <ian@gaslightmedia.com>
Mon, 22 May 2017 15:01:13 +0000 (11:01 -0400)
committerIan Weller <ian@gaslightmedia.com>
Mon, 22 May 2017 15:01:13 +0000 (11:01 -0400)
I cropped image to be 300x200 and placed it in the dropdown default
image in the menu walker.

assets/is43-1401554613-28521.jpg [new file with mode: 0644]
lib/menu-walker.php

diff --git a/assets/is43-1401554613-28521.jpg b/assets/is43-1401554613-28521.jpg
new file mode 100644 (file)
index 0000000..9051b3b
Binary files /dev/null and b/assets/is43-1401554613-28521.jpg differ
index 06bcbea..946f7b0 100644 (file)
@@ -75,7 +75,7 @@ class Glm_Theme_Top_Bar_Walker extends Walker_Nav_Menu {
             </style>";
 
         }else if( $depth !== 0 && ! has_post_thumbnail( (int)$object->object_id ) ){
-            $thumbnail = get_template_directory_uri() . '/assets/is43-1401554613-28521.jpeg';
+            $thumbnail = get_template_directory_uri() . '/assets/is43-1401554613-28521.jpg';
             $item_style .= "<style>
             #menu-main #menu-item-".$object->ID.":before {
             display: inline-block;