Multiple CSSs: how do I select which one to author in?

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

Multiple CSSs: how do I select which one to author in?

Postby jenniferf on Wed Sep 25, 2019 9:00 am

Hi everyone,

I hope the collective wisdom here can help me. I have multiple CSSs for my documentation because I publish content under different brands. The styles are quite different and in addition, there are different classes defined in different stylesheets. I have associated the correct CSS with the target, and the output renders as it should, BUT . . . when I author, I don't seem to be able to choose which stylesheet is active as I write. This means that while I am developing content, I am seeing the incorrect styles on my screen. It also means that I can't access some of the classes that I need to.

Can someone help? This is driving me crazy!!

Thanks in advance.

Jennifer
jenniferf
Jr. Propeller Head
 
Posts: 3
Joined: Wed Jun 27, 2018 8:05 am

Re: Multiple CSSs: how do I select which one to author in?

Postby doloremipsum on Thu Sep 26, 2019 5:12 pm

The stylesheet that you use in the editor is based on the primary project target. Simply navigate to the targets folder, right click on a target and select 'make primary' to set that stylesheet for editing.
neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit - sed saepe cum dolor apud multos callidos mutuetur, reduci potest.
doloremipsum
Sr. Propeller Head
 
Posts: 121
Joined: Mon Aug 26, 2019 2:11 pm

Re: Multiple CSSs: how do I select which one to author in?

Postby doloremipsum on Mon Sep 30, 2019 5:43 pm

Although now that I think of it, the best way of making sure you have access to all of your styles at all times would be to define all of the styles in your master stylesheet. The styles that aren't being used by that output can be left 'blank', so they will inherit all values from the default. That way the style class will appear in your Styles Pane, but it won't have any effect on the output unless you define something different.
neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit - sed saepe cum dolor apud multos callidos mutuetur, reduci potest.
doloremipsum
Sr. Propeller Head
 
Posts: 121
Joined: Mon Aug 26, 2019 2:11 pm


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 7 guests

cron