Attachment
Last updated
Last updated
The Attachment component allows you add a downloadable document. The component displays a title, the last updated date and a configurable document title.
On the page where you want to add the Attachment, open the from the dropdown list.
Add a Title to display at the top of the component.
Add Content, optional. Useful to describe the document.
Add one or more files to the Attachment component.
Save.
Every component in CivicTheme, such as the "Attachment" component, can be shown as a Light
or Dark
theme component variant. This allows you to build more engaging landing pages with a mix of light and dark theme components.
Use "Theme" radio button selector to change between themes.
Below illustrates the Light
theme, using the "Content" field, and the media "Name".
Below illustrates the Dark
theme and the document file name.
Vertical spacing adds space before, after or both before and after a component. It is used to visually separate a component from other components when they are vertically stacked on the page. Use "Vertical spacing" dropdown to chose the appropriate values.
You may need to adjust the vertical spacing on adjacent components to create visual balance.
DO NOT USE. Don't use the "Background" on the "Attachment" component Selecting Light
or Dark
theme adds the appropriate background.
Some site-wide configuration can be made for this component. You need to be logged in as a "Site administrator" role in order to make such changes.
You can configure the "Attachment" component to display the actual file name, or the editable "Name" you give to the file when you upload it.
When you upload the file, ensure you create a descriptive, human-readable "Name".
Go to /admin/appearance/settings/<site-name>
Check the "Use name of media" box.
Go to /admin/appearance/settings/<site-name>
Uncheck the "Use name of media" box.