Purpose

This will change the style of the Page Title

Details

Macro Name

titlestyle

Macro-TitleTitlestyle
DescriptionThis Macro gives the possibility to change the Page Title style
CategoriesConfluence Content
Documentation URLhttp://www.mos-eisley.dk/x/EIDzAg

Definition of User Macro

(afkryds)No macro body
(fejl)Escaped
(fejl)Unrendered
(fejl)Rendered
Referencehttps://confluence.atlassian.com/display/DISC/Page+Title+Style

Macro Code

<script type="text/javascript">
jQuery("document").ready(function() {
  if ("${paramcolor}" != "${color}")
    jQuery('#title-text a').css('color', '${paramcolor}');
 
  if ("${paramfont-weight}" != "${font-weight}")
    jQuery('#title-text a').css('font-weight', '${paramfont-weight}');
 
  if ("${paramfont-style}" != "${font-style}")
    jQuery('#title-text a').css('font-style', '${paramfont-style}');
 
  if ("${paramfont-family}" != "${font-family}")
    jQuery('#title-text a').css('font-family', '${paramfont-family}');
 
});
</script>