Update multiple topics to new stylesheet at one time

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
jconnors
Propeller Head
Posts: 14
Joined: Tue Apr 28, 2020 12:51 pm

Update multiple topics to new stylesheet at one time

Post by jconnors »

Hi

Our company was just acquired so we must rebrand our documentation. Can I apply the new stylesheet to multiple topics at one time, or do I have to go into the Topic Properties of each individual topic to apply the new css?

Thanks in advance!
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Update multiple topics to new stylesheet at one time

Post by NorthEast »

The easiest way would be just to keep the same filename for the CSS file, so you don't have to change any links.

If you need to change the stylesheet link, then it depends how that is set up in your project.
Stylesheets links can be:
(a) Set using a Master Stylesheet in the target.
(b) Set in master pages.
(c) Set in topics.

If the stylesheets are set in topics, then I'd suggest using a find and replace (with Find in source code option) to update the stylesheet links.
Alternatively, you could use the File List view to select multiple topics at once, and update the link in topic properties.
jconnors
Propeller Head
Posts: 14
Joined: Tue Apr 28, 2020 12:51 pm

Re: Update multiple topics to new stylesheet at one time

Post by jconnors »

Thanks so much! The File List method worked!
Post Reply