From a4ffd6efc59ed993a1d4984d91e5ce37ff9342ed Mon Sep 17 00:00:00 2001 From: George Cushen Date: Thu, 7 Feb 2019 14:37:21 +0000 Subject: [PATCH] feat(widget): add `css_class` option to customize widget style Allows user to customize the style of a particular widget using the CSS plugin feature. For example, the background of a widget could be changed to an image or gradient. Close #322 --- layouts/partials/widget_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/widget_page.html b/layouts/partials/widget_page.html index 1205e701..2ec5d399 100644 --- a/layouts/partials/widget_page.html +++ b/layouts/partials/widget_page.html @@ -18,7 +18,7 @@ {{ if in (slice "hero" "hero_carousel") $page.Params.widget }} {{ partial $widget $params }} {{ else }} -
+
{{ partial $widget $params }}