Problems accessing new style

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
ccardimon
Propellus Maximus
Posts: 1571
Joined: Fri Jan 11, 2008 1:30 pm
Location: Horsham, Pennsylvania

Problems accessing new style

Post by ccardimon »

I created a new paragraph style and I'm having problems applying it.

I created a new paragraph style, p.TOC, but I am unable to apply it because it isn't being listed in the Styles Window.

How can I get the Styles Window to list ALL paragraph styles?
Craig

Lost in Disturbia
dorcutt
Sr. Propeller Head
Posts: 234
Joined: Thu May 15, 2014 12:16 pm

Re: Problems accessing new style

Post by dorcutt »

I've noticed that Flare can be rather buggy when creating a style inside a topic using the Create Style Class button located in Flare's Home ribbon. It seems to create the style fine in the CSS stylesheet, but it does not appear in Flare's built-in Stylesheet user interface. I should probably report this as a bug but I never have and it doesn't seem to happen all the time. For this reason, in general, I have found that it is best practice to create the class directly in the CSS stylesheet, not within topics.

Anyway, this is probably the issue that you're having. To fix it, I add the class again directly from the CSS stylesheet:
  1. Open the stylesheet in the Flare user interface
  2. Make sure the Default medium is selected
  3. Right-click the parent tag and select the "Add Class" option
  4. Type in the exact same name as the first time you tried to make the class

Flare should then "find" the style that you already created and add it to the User Interface like any other class. In my experience, you don't have to re-enter the values. Closing and re-opening Flare may or may not also help it "find" the style.

If this doesn't work, make sure that they class was not somehow set to be disabled.
-Dan, Propellerhead-in-training
ccardimon
Propellus Maximus
Posts: 1571
Joined: Fri Jan 11, 2008 1:30 pm
Location: Horsham, Pennsylvania

Re: Problems accessing new style

Post by ccardimon »

Thanks! I'll try it.
Craig

Lost in Disturbia
Post Reply