From 6c3638fc48d789fe5c32fd98bada83af8353f0fe Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 2 Jun 2016 10:35:12 -0700 Subject: [PATCH] Featurebox Default Styling added. --- e107_plugins/featurebox/e_shortcode.php | 2 +- e107_plugins/featurebox/featurebox.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 e107_plugins/featurebox/featurebox.css diff --git a/e107_plugins/featurebox/e_shortcode.php b/e107_plugins/featurebox/e_shortcode.php index 75016a25c..96761e457 100644 --- a/e107_plugins/featurebox/e_shortcode.php +++ b/e107_plugins/featurebox/e_shortcode.php @@ -29,7 +29,7 @@ class featurebox_shortcodes// must match the plugin's folder name. ie. [PLUGIN_F */ function sc_featurebox($parm=null, $mod = '') { - + e107::css('featurebox', 'featurebox.css'); if($parm == null && $mod == '') // ie {FEATUREBOX} { $type = vartrue(e107::getPlugPref('featurebox','menu_category'),'bootstrap_carousel'); diff --git a/e107_plugins/featurebox/featurebox.css b/e107_plugins/featurebox/featurebox.css new file mode 100644 index 000000000..379d8177c --- /dev/null +++ b/e107_plugins/featurebox/featurebox.css @@ -0,0 +1,5 @@ + +.featurebox.carousel .carousel-inner { + height:460px; + overflow:hidden; +} \ No newline at end of file