Don't want homepage styles visible in Style window

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Don't want homepage styles visible in Style window

Post by ChoccieMuffin »

I'm sure this has been discussed before, but I can't get my head round how to achieve what I want to achieve.

What I want is for the styles that are ONLY used in the home page to NOT show up in the Style window, as I generally apply styles to content I'm writing from the Styles window.

This is my setup:
HTML5 project
Main styles in one stylesheet, styles for home page all in a separate stylesheet.

I know there are some "gotchas", where if you adjust the "visible" attribute you also affect the output rather than just the Flare GUI.

Can anyone point me in the right direction?

Thanks
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Don't want homepage styles visible in Style window

Post by NorthEast »

1) Add a stlesheet link to your 'styles for homepage' CSS file in the home page topic. This will make the style visible in the home page topic only.
2) If you have set a Master stylesheet in your target properties or project properties, make sure Allow local stylesheets is selected.

The visible property is part of regular CSS and would be used to make content in your output invisible.
You're perhaps thinking of Flare's mc-disabled and mc-hidden properties - https://help.madcapsoftware.com/flare20 ... Styles.htm
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Don't want homepage styles visible in Style window

Post by ChoccieMuffin »

Thanks Dave, that's exactly the guidance I needed!

Still trying to get my head round the best way to work with a new Flare template and a new (to me) output type, so the info I've picked up from reading the forums over the years is really helpful, accompanied by reminders from people like you.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply