diff --git a/plugins/system/language/en-GB.plg_system_helix3.ini b/plugins/system/language/en-GB.plg_system_helix3.ini index 52ba672..3eae42b 100644 --- a/plugins/system/language/en-GB.plg_system_helix3.ini +++ b/plugins/system/language/en-GB.plg_system_helix3.ini @@ -28,6 +28,8 @@ ENABLE_PAGE_TITLE_DESC="Enable this option show page title after just below the ENABLE_PAGE_TITLE="Enable Page Title" ENABLE_PAGE_TITLE_DESC="Enable this option show page title after just below the header." PAGE_TITLE_ALT="Alternative Title" +PAGE_TITLE_CSS="Title CSS" +PAGE_TITLE_CSS_DESC="Aditional css class for page title" PAGE_TITLE_ALT_DESC="Alternative title will override joomla default menu title." PAGE_SUBTITLE="Page Subtitle" PAGE_SUBTITLE_DESC="Add brief description about the page as page subtitle." diff --git a/plugins/system/params/page-title.xml b/plugins/system/params/page-title.xml index 1b028cd..ce85113 100644 --- a/plugins/system/params/page-title.xml +++ b/plugins/system/params/page-title.xml @@ -9,8 +9,9 @@ + - + \ No newline at end of file diff --git a/template/features/title.php b/template/features/title.php index af382a8..97a9ea2 100644 --- a/template/features/title.php +++ b/template/features/title.php @@ -31,6 +31,8 @@ public function renderFeature() { $page_title = $menuitem->title; $page_title_alt = $params->get('page_title_alt'); $page_subtitle = $params->get('page_subtitle'); + // Here + $page_title_css = $params->get('page_title_css'); $page_title_bg_color = $params->get('page_title_bg_color'); $page_title_bg_image = $params->get('page_title_bg_image'); @@ -52,9 +54,13 @@ public function renderFeature() { $page_title = $page_title_alt; } + if($page_title_css) { + $page_css = $page_title_css; + } + $output = ''; - $output .= '
'; + $output .= '
'; $output .= '
'; $output .= '

'. $page_title .'

';