Following are issues that may occur when working with styles in Flare.
- Deleted style classes do not go away
- Imported styles do not appear in Stylesheet Editor
- "a" link pseudo classes do not function properly when output is generated
Deleted style classes do not go away
This problem can occur if you have not deleted the style from all mediums in the stylesheet.
Delete the style from all mediums in the stylesheet.
- Open the stylesheet.
- In the Stylesheet Editor, use the button to select a medium.
Select the style in the Styles field and press Delete on the keyboard.
Repeat Step 3 for all available mediums.note
Note: You can also open the stylesheet in Notepad or another text editor to delete the unwanted styles manually. In the text editor view, different mediums of the same style are denoted by indentation and the "@"symbol before the name of each medium. The easiest way to delete the style from all mediums is to find each style by pressing CTRL+F and entering the exact name of the style in the Find field. When the style is located, delete its name and the brackets containing all of its settings immediately below, then move on to the next style. This method might be more efficient for those who are comfortable working outside of the Flare user interface.
Imported styles do not appear in Stylesheet Editor
If you select a medium in the Import Styles dialog, the preview window displays all the styles in the stylesheet you have selected even if the style does not exist in the medium you have selected. If you select a style in this case, the style will not be imported because it does not exist for that medium. This is an issue in Flare that will be addressed in a future version.
Do one of the following.
- In the Import Styles dialog's Medium field, select the default medium.
- Select the styles you want to import.
- Click OK. Selecting this medium imports the medium associated with the style you have selected and prevent you from selecting a medium for which the style is not written.
- Select the style you want to import (e.g., the p class for all paragraph styles) and import all styles in that class.
- Click OK. This will import all the styles and all the mediums in that class, so there will be no conflict over styles that do not exist in a specific medium.
"a" link pseudo classes do not function properly when output is generated
Link styles (e.g., those based on <a> tags) do not appear correctly or function properly.
Cause and Solultion
These problems can be related to the use and function of link style pseudo classes (a special group of style classes that pertain to elements when they're in a certain state) and may have one of the following causes.
In order for pseudo classes to function properly, they must appear in the following order in the stylesheet (you can see this by opening the stylesheet in Notepad).
Link style pseudo classes do not inherit properties from their parent classes. Therefore, if you have style properties set on an link style, those style properties will not appear on the pseudo class associated with the link style.
Explicitly set the property values on those pseudo classes, rather than expecting them to inherit settings from other tags.
- From the Content Explorer, open the stylesheet that you want to modify.
In the local toolbar, make sure the first button displays . If the button displays instead, then click it.
- In the upper-left corner of the editor, click in the Show Styles field and select Show Link Styles.
- On the left side of the editor, expand the a group.
- Select the style class you wish to modify and click expand the group.
- Expand the (Pseudo Classes) group.
- Select the necessary pseudo class. See Pseudo Classes.
- From the Show drop-down list on the upper-right side of the editor, select .
- (Optional) You can use the toggle button in the local toolbar to show properties below in a group view or an alphabetical view .
- If you are using the group view, expand the necessary property group(s) and set the necessary property value(s).
- Click OK.
- Click to save your work.
- Regenerate the output.