diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py index 7d91195a7..863943e40 100644 --- a/openlp/core/lib/htmlbuilder.py +++ b/openlp/core/lib/htmlbuilder.py @@ -338,7 +338,7 @@ def build_html(item, screen, islive, background, image=None, html = HTMLSRC % (build_background_css(item, width, height), width, height, css_additions, - build_footer_css(item, height), + build_footer_css(item, height), build_lyrics_css(item, webkitvers), u'true' if theme and theme.display_slide_transition and islive \ else u'false', diff --git a/openlp/core/lib/plugin.py b/openlp/core/lib/plugin.py index 9a5d2d547..ad6f77116 100644 --- a/openlp/core/lib/plugin.py +++ b/openlp/core/lib/plugin.py @@ -371,25 +371,25 @@ class Plugin(QtCore.QObject): def getDisplayCss(self): """ - Add css style sheets to htmlbuilder + Add css style sheets to htmlbuilder. """ return u'' def getDisplayJavaScript(self): """ - Add javascript functions to htmlbuilder + Add javascript functions to htmlbuilder. """ return u'' def refreshCss(self, frame): """ - Allow plugins to refresh javascript of displayed screen + Allow plugins to refresh javascript on displayed screen. """ return u'' def getDisplayHtml(self): """ - Add html code to htmlbuilder + Add html code to htmlbuilder. """ return u'' diff --git a/openlp/plugins/alerts/alertsplugin.py b/openlp/plugins/alerts/alertsplugin.py index 461525a70..594649e53 100644 --- a/openlp/plugins/alerts/alertsplugin.py +++ b/openlp/plugins/alerts/alertsplugin.py @@ -183,10 +183,9 @@ class AlertsPlugin(Plugin): def getDisplayCss(self): align = VerticalType.Names[self.settings_tab.location] - alert = CSS % (align, self.settings_tab.font_face, + return CSS % (align, self.settings_tab.font_face, self.settings_tab.font_size, self.settings_tab.font_color, self.settings_tab.bg_color) - return alert def getDisplayHtml(self): return HTML