Single Stylesheet for all Projects

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
TeleTech
Jr. Propeller Head
Posts: 7
Joined: Thu Jul 13, 2017 1:03 am

Single Stylesheet for all Projects

Post by TeleTech »

I would like all my projects so share a single stylesheet but I cannot find a away to set one. The options do not allow me to choose a stylesheet, only to edit or import styles. Also my project style sheet is taking its styles from Mobile.css even though I haven't specified mobile in my target. Any ideas? I'm new to Flare and I'm using v. 12
Feebeegeebee
Sr. Propeller Head
Posts: 213
Joined: Wed Aug 08, 2012 8:38 am
Location: UK

Re: Single Stylesheet for all Projects

Post by Feebeegeebee »

Hi TeleTech,
In your primary target, in the General tab, you should select the stylesheet you require as your Master Stylesheet.
Try rebuilding your project after that.
Regards,
Feebeegeebee
-----------------------------------------------------
Using Flare 2022 on Windows 11 (64-bit)
-----------------------------------------------------
TeleTech
Jr. Propeller Head
Posts: 7
Joined: Thu Jul 13, 2017 1:03 am

Re: Single Stylesheet for all Projects

Post by TeleTech »

Feebeegeebee wrote:Hi TeleTech,
In your primary target, in the General tab, you should select the stylesheet you require as your Master Stylesheet.
Try rebuilding your project after that.
Regards,
Feebeegeebee
Hi Feebeegeebee,
Thankyou! I can't select a style sheet from the General Tab unless it's already in the list.
To get around this, should I copy it into a specific folder so that it shows in the list?
TeleTech
SteveS
Senior Propellus Maximus
Posts: 2090
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).
Contact:

Re: Single Stylesheet for all Projects

Post by SteveS »

Have you explored Global Project Linking?

You can keep stuff like stylesheets, copyright, masterpages, and so on in one project and use them for all your other projects...
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Sean
Propeller Head
Posts: 57
Joined: Mon Apr 14, 2014 7:45 am

Re: Single Stylesheet for all Projects

Post by Sean »

What is your primary target?

I have HTML 5 with Top Nav as my primary and a PDF output also set. In my Content > Resources > Stylesheets directory, I have "styles.css."

When modifying my CSS, I choose "Medium (Default)" to make changes to affect all my output. Then, I select "Medium: Print" to affect only my PDF output. If I look at the CSS in a text editor, the text editor lists the default styles as you would expect, but then there's an "@media print" section that provides the overrides for my print (PDF) output.

In this way, I am just using one CSS for both of my outputs.

Cheers,

Sean
Post Reply