Cannot see styles in the Styles window (of a project)

This forum is for all Flare issues related to styles, stylesheets and XML.

Cannot see styles in the Styles window (of a project)

Postby ihumby-09 on Thu Apr 04, 2019 2:12 pm

Hello.

I searched this section of the forum, and there were many suggestions on how to fix this situation. However, none of them worked for me.

I'm using Flare 2018.

When I open styles.css, I see hundreds of styles. However, in my project, I see a "few" styles (particularly p style). Do I Have to "activate" a style to make it show up in my project styles window?

Any suggestions?

Thanks.
Irma
ihumby-09
Jr. Propeller Head
 
Posts: 9
Joined: Wed Nov 07, 2018 7:43 am

Re: Cannot see styles in the Styles window (of a project)

Postby SteveS on Thu Apr 04, 2019 2:55 pm

Hi Irma,

Welcome to the forums :D

Flare only displays the styles that can be applied to the element you have selected in the editor. So, if your cursor is within a paragraph (<p>) the style window should show all the declared styles for paragraphs from your stylesheet. It will also generic styles, for example any style that is declared with a period at the beginning of its declaration in the stylesheet.

So, if you have styles such as p.highlight, p.newpage and so on, they will appear in your style window when a paragraph element is active. Styles such as .comment, .dropcap are generic styles and should be seen as well.

The styles shown are those from one of my projects.

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
SteveS
Propellus Maximus
 
Posts: 1993
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).

Re: Cannot see styles in the Styles window (of a project)

Postby ihumby-09 on Fri Apr 05, 2019 6:42 am

Hi.

Thank you for the info, but I already knew that I would only see styles pertinent to the information I was selecting (e.g., p.xxx for paragraph).

My problem is that I only see a few of the "p.xx" styles, not the entire list that is in styles.css.

Apologies if I didn't state my issue clearly.

Bottom line - I want to see ALL pertinent styles when I select something in the topic. Do I need to "activate" something?

thanks.
Irma
ihumby-09
Jr. Propeller Head
 
Posts: 9
Joined: Wed Nov 07, 2018 7:43 am

Re: Cannot see styles in the Styles window (of a project)

Postby Nita Beck on Fri Apr 05, 2019 10:27 am

Flare will show you the styles from the stylesheet and medium that is associated with the target that you've set as the primary target.

Say that your stylesheet has styles defined in its default medium and another medium used for print output. (For discussion, let's call this the print medium.) Say also that there are p classes in the print medium that are not defined in the default medium.

If your primary target is a print target (which I assume is set to use the print medium), as you edit content in the XML Editor, you should see all the p classes from both the default medium and the print medium.

If your primary target is an online target (which I assume is set to use the default medium), as you edit content in the XML Editor, you should see only the p classes that are from the default medium.

You can also switch up what the XML Editor shows as you edit a file. Change the Layout to one of the Web layouts or to the Print layout. Change the Medium to the medium where your styles are defined. I think then that you'll see the styles for that output type and medium.

I hope this helps.
Nita
Image
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Nita Beck
Senior Propellus Maximus
 
Posts: 3309
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: DanielSvensson, Google [Bot] and 2 guests

cron