From 9e27cc59305817b384e1508a7457c3664271e887 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 1 Nov 2016 16:30:13 -0400 Subject: [PATCH] Updating the off canvas menu more. Giving the non anchor label more padding. --- lib/menu-walker.php | 2 +- style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/menu-walker.php b/lib/menu-walker.php index a2d91c4..4f5dfda 100644 --- a/lib/menu-walker.php +++ b/lib/menu-walker.php @@ -67,7 +67,7 @@ class Glm_Theme_Off_Canvas_Walker extends Walker_Nav_Menu { } if ( $depth === 0 && $object->has_children ) { - $item_html = preg_replace( '/]*>(.*)<\/a>/iU', '$1', $item_html ); + $item_html = preg_replace( '/]*>(.*)<\/a>/iU', '$1', $item_html ); } $output .= $item_html; diff --git a/style.css b/style.css index d401d1a..5d3155d 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: Capstone Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for Capstone -Version: 1.0.3 +Version: 1.0.4 */ -- 2.17.1