We occasionally hear from people who would like to embed a fact bank on the consultation overview page. This can be done, although please be advised that the process is a little less straightforward than adding fact banks to questions or pages within a survey, as Citizen Space doesn't have the functionality to add components to the overview page.
Instead, the fact bank component can be replicated on the overview page by pasting some html code into the source view of the text editor and then making some changes. This can be done in any of the text editors on the overview page, i.e. anywhere you see the WYSIWYG bar as shown below.
If you're feeling confident about inserting html code into the source view, you'll find the code you need below plus some guidance on which bits you need to amend. You'll need to find the appropriate place in the source view to insert this based on where you want to the fact-bank to sit in relation to other content on the page.
Alternatively if you're not feeling confident, you can as always contact us via email@example.com and we'll be more than happy to give you a hand.
<div class="cs-factbank"> <h4 class="cs-factbank-header dss-heading-x-small"> <a class="collapsed hide-when-no-js" data-toggle="collapse" href="#fact-bank-1" role="button"> <span>Please click here to read more</span> </a> <span class="show-when-no-js"><span>More Information</span></span> </h4> <div class="cs-factbank-content collapse" id="fact-bank-1"
aria-live="polite"> <div class="cs-factbank-content-inner"> Fact bank content goes here! </div> </div> </div>
Once you have this code in place you need to change both references to fact-bank-1 to a unique ID for this fact bank (safest to stick to letters, numbers, dashes and underscores for this). It's perfectly acceptable to use fact-bank-2, fact-bank-3 and so on. This is important if you have multiple fact banks in your consultation because if you don't change both of these to something unique, then clicking on the fact bank may cause the wrong fact bank to open.
Additionally, you'll need to update the three pieces of text displayed:
1. Please click here to read more is the text of the link to open the fact bank.
3. Fact bank content goes here! is the HTML content of your fact bank. This is editable using the editor once you've got the basics set up.
If you're unsure about any of the above, please contact us via firstname.lastname@example.org and we'll assist where we can.