Inherited Styles
When working with very large brands or brands which require many different styles in order to support subtle style changes, management can quickly become complicated and time consuming.
Worked example 1:
The majority of your publication uses a single ‘Default Style’ which in addition to all other 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 articles in your brand use the same font for its text components. You achieve this by creating a ‘Article Style’ named ‘Core Style’. However, you have twelve sections in your magazine and it's a requirement that all headline and subtitle text components need to be a different colour.
Notes
- All components of ‘Inherited Styles’ inherit the properties of their parent style unless otherwise specified.
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 you wish to inherit the properties of.
- Select
Create
The new 'Inherited Style' will be indicated by the arrow and placed below its parent.
Editing an Inherited Style
When editing an 'Inherited Style' for the first time, all its properties will appear greyed out. This is because before any changes are made, the component inherits the entirety of its properties from the parent style.
In the example above, the ‘Line Height’ property is now overridden and no longer inherits from the parent style.
Notes If the subtitle font of the parent style is changed, it will also change in the inherited style.
Reverting an Inherited Style Property
It is possible to revert an overridden property to its original state by double-clicking on the property name. This will cause the value to return to the value of its parent style.
Applying an Inherited Style
Applying an 'Inherited Style' is the same as applying a regular style. It can be achieved via both 'Article Manager' and 'Article Editor':
- Access the article you want to edit. 'Article Builder' will appear.
From the 'Article Toolbar', click the
Style Menu
(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.