diff --git a/inc/plugins/woocommerce.php b/inc/plugins/woocommerce.php index 578a607..159a7c1 100644 --- a/inc/plugins/woocommerce.php +++ b/inc/plugins/woocommerce.php @@ -1,12 +1,23 @@ %1$s %2$s', $grid_view, $list_view ); + + $output= ''; + $output.=sprintf( ' +
+ %1$s + %2$s +
+ ', $grid_view, $list_view ); + /*$output.=sprintf( ' +
+ + +
+ ', $grid_view, $list_view );*/ + + return $output; +} +add_filter( 'gridlist_toggle_button_output', 'stormbringer_gridlist_toggle_button_output',10, 3 ); diff --git a/page-fullwidth.php b/page-fullwidth.php index ef3c272..c47c23b 100644 Binary files a/page-fullwidth.php and b/page-fullwidth.php differ diff --git a/page-fullwidthnotitle.php b/page-fullwidthnotitle.php index a680a3a..985487d 100644 --- a/page-fullwidthnotitle.php +++ b/page-fullwidthnotitle.php @@ -6,6 +6,7 @@ * @since StormBringer 0.2.7 * * Template Name: PageFullWidthNoTitle + * Template Post Type: post, page, product */ ?> diff --git a/scss/helpers/_woocommerce_productlist.scss b/scss/helpers/_woocommerce_productlist.scss index 53adc5f..cf6f2fd 100644 --- a/scss/helpers/_woocommerce_productlist.scss +++ b/scss/helpers/_woocommerce_productlist.scss @@ -99,3 +99,13 @@ Mobile width:100% !important; } } + + +/** +Grid/List toggle + */ +.gridlist-toggle{ + float: right; + padding: 0; + margin-bottom: ($line-height-computed / 1); +} \ No newline at end of file