When working with very large publications or publications that require many different styles to be created in order to support subtle style changes, the management of these can quickly get complicated and become time consuming.
Worked example 1: The majority of your publication uses a single ‘Default Style’ which in addition to all styling, defines a 5% top padding to the Canvas. This is perfect for most articles as normally the first component on the page is a Headline.
- All components of a ‘Inherited styles’ inherit the properties of its parent style unless otherwise specified / overridden.
Creating an Inherited Style
- Navigate to the ‘Style Manager’ from the ‘Styles’ tab
- Select the ‘Add New’ option
- Enter a Style Name
- Under ‘Source’ select ‘Inherit From’
- Under ‘Existing Style’ select the style to inherit from
- Select ‘Create’
- The new Inherited Style will be indicated by the arrow, placed below the Style it inherits from
Editing an Inherited Style
When editing an inherited style for the first time, all properties will appear greyed out. This is because when no value for an inherited style property has been specified, the component ‘inherits’ the value of that property from its parent and so appears greyed out.
In the example above, the ‘Line Height’ property is now overridden and is no longer inherited from the parent style. Remember: if the Subtitle font in the parent style is changed, it will also change in this inherited style.
Reverting an Inherited Style property
It is possible to revert any overridden property by double-clicking on the property name. This will cause the value to be reverted to the value of its parent style.
Applying an Inherited Style
Applying an Inherited Style is the same as applying a regular a style, and can be applied both via the 'Article Manager' and the 'Article Editor':
- Access the Article you want to edit. The article builder will load
- From the article toolbar, click the style menu (at the top right) and select the style you want to apply
- Once the required style has been applied, click outside of the style menu to close the panel
- Click 'Save' to apply the style change