Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
This document outlines security procedures and general policies for the CivicTheme project.
We follow a N and N-1 supported version model.
We support the current and prior minor release of CivicTheme and their accompanying UI Kit. This means that if the latest release is 1.8.1 we are supporting the following:
1.8.1 (latest release)
1.7.4 (last minor release)
But we are not supporting 1.8.0 or 1.7.3 and below. In addition to the above model, we will also make available security release patches for the 1.4 version of CivicTheme and 0.9 version due to the difficulty in updating from these models.
The CivicTheme team and community take all security bugs in CivicTheme seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
If you’ve found a vulnerability, we would like to know so we can fix it. Email civictheme@salsa.digital with details of the vulnerability.
Alternatively, information is provided below for disclosing security vulnerability for the Drupal theme and UI Kit.
How to report
Use the GitHub Security Advisory "Report a Vulnerability" tab to report the ema
Emailing us at civictheme@salsa.digital
Contacting us on Slack
What to detail in a disclosure
a brief description of the vulnerability
the CivicTheme version(s) the vulnerability affects
repository / website where the vulnerability can be observed
non-destructive steps to replicate the bug
The security team will may ask for additional information or guidance. Report security bugs in third-party modules to the person or team maintaining the module.
Use the CivicTheme’s Drupal Project Report a Security Issue issue tracker.
When the security team receives a security bug report, they will assign it to a primary handler. This person will coordinate the fix and release process, involving the following steps:
Confirm the problem and determine the affected versions
Audit code to find any potential similar problems
Prepare security releases for supported versions
Prepare patches for earlier supported versions
Notifications and releases
We will provide notifications of security releases and vulnerabilities through the following channels:
slack: #civictheme-designsystem
Drupal Slack channel #civictheme-designsystem
Send an email to civictheme@salsa.digital
Development of the entire CivicTheme ecosystem is managed in the CivicTheme GitHub organisation.
This allows to develop the Drupal theme and modules at the same place and use advanced CI configuration for testing.
The code from the monorepo is automatically published to Drupal.org with all commit and author information preserved.
For Drupal theme:
Submit issues to the Drupal theme issue queue
Submit PRs to the GitHub Drupal monorepo
For Drupal modules:
submit issues to the Drupal theme issue queue
submit PRs to the GitHub Drupal monorepo
For UI Kit:
Submit issues to the UI Kit GitHub repository
Submit PRs to the UI Kit GitHub repository
For this documentation:
Submit issues to the documentation GitHub repository
Submit PRs to the documentation GitHub repository
If you do not know which part the issues relates to - submit an issue to the Drupal theme issue queue and it will be moved to the appropriate location by the CivicTheme maintainers.
Interested in significant contributions or deployments of CivicTheme? Learn more here.
CivicTheme is an open-source design system governed by a diverse community of government agencies, digital agencies, and individual contributors. The open-governance model ensures that CivicTheme grows in a way that benefits the wider community while maintaining consistency, accessibility, and government-grade standards.
If you would like to collaborate on CivicTheme, particularly for large contributions like developing a version for another technology (e.g., React, Vue, etc.), the following guidelines will help ensure a smooth process and productive partnership:
Before any major development begins, it’s important to present your idea to the broader CivicTheme community for consideration. This will ensure that the proposed work aligns with the current vision and standards of CivicTheme. To initiate a partnership:
Submit a proposal: Provide an outline of your partnership idea via GitHub (e.g., in the form of an RFC or issue) or directly reach out to the CivicTheme team at info@civictheme.io.
Include details such as:
Goal: What is the purpose of your proposal (e.g., creating a React version of CivicTheme)?
Scope: What components or parts of the system would this impact?
Resources: How will your team contribute (e.g., developers, designers, testers)?
Timeline: Provide a rough estimate of timeframes for the proposed work.
Once the proposal is submitted, it will be reviewed by the CivicTheme governing body, which includes key stakeholders from government agencies, digital agencies, and the broader CivicTheme community.
The review process includes:
Discussion and feedback: Your proposal will be discussed in community meetings and may receive feedback or suggestions for modification.
Community involvement: Depending on the scope of the proposal, input from the broader community may be solicited to ensure the change aligns with CivicTheme's goals.
For large-scale contributions like developing a React version of CivicTheme, it will be necessary to hold a partnership meeting with the CivicTheme core team and stakeholders. This meeting will allow for deeper discussion on:
Technical approach: How will the new version (e.g., React) be structured, and what are the technical requirements?
Alignment with CivicTheme principles: Ensuring that the new version adheres to the same accessibility, design standards, and component structure as the original.
Governance and maintenance: Defining responsibilities for ongoing maintenance and updates, and ensuring the new version has long-term support.
Community benefits: Evaluating how the new version will support the wider CivicTheme community and government users.
The CivicTheme governing body will provide feedback and give approval before moving forward.
Once the partnership has been approved, development can proceed with continued community involvement:
Open development: Keep the development of the new version open and transparent, using GitHub for version control, issues, and pull requests.
Regular updates: Provide regular progress updates to the CivicTheme community, either through GitHub, Slack, or dedicated community meetings.
Collaboration: CivicTheme is built on collaboration, so invite input and feedback from other developers and contributors during the development process.
CivicTheme adheres to government-grade standards for accessibility, security, and performance. Any new partnership should ensure that:
The new version (e.g., React) follows the WCAG 2.2 AA accessibility guidelines.
It is tested for cross-browser and cross-device compatibility.
The new components match the design and behaviour of existing CivicTheme components.
Community testing and feedback will be encouraged to maintain the highest standards of quality.
Partnering with CivicTheme offers numerous benefits:
Contribute to the open-source community: Your work will be part of a growing ecosystem used by government agencies and organisations to deliver accessible, consistent digital experiences.
Shape the future of CivicTheme: Your partnership could drive the expansion of CivicTheme into new technologies, helping it reach a wider audience and be more adaptable across platforms.
Collaborate with experts: Work alongside a community of government, digital agency, and open-source experts, sharing insights and knowledge to build something impactful.
If you're interested in partnering with CivicTheme, start by submitting your proposal or reaching out to discuss your ideas:
Submit a proposal via GitHub or contact us directly at info@civictheme.io.
Join the CivicTheme Slack Channel to participate in ongoing discussions and engage with the community.
We welcome contributions from all who want to collaborate on building better, more inclusive digital solutions.
Partnerships are key to CivicTheme’s growth and sustainability. Whether you’re developing a new version for React or expanding existing functionality, collaboration with the CivicTheme governing body ensures alignment with the broader vision and standards. By following the process outlined here, your partnership can help CivicTheme thrive and benefit the entire community.
This page explains how to install, update, and manage CivicTheme in Drupal
CivicTheme is available as a Drupal theme that enables rapid creation of accessible and consistent digital experiences. This guide walks you through the steps to install and set up CivicTheme in a Drupal project using Composer, Drush, and other typical Drupal tools.
To begin, you'll need to install CivicTheme using Composer, the recommended package manager for Drupal projects.
Run the following command in your Drupal root directory:
This command will add CivicTheme as a dependency in your project, download the theme, and ensure it’s available for use in your Drupal installation.
Once CivicTheme is installed, you can enable it using Drush (Drupal's command-line tool). This will set CivicTheme as the default theme for your site.
Run the following Drush commands:
drush then civictheme
: This command enables the CivicTheme theme.
drush config-set system.theme default civictheme
: This command sets CivicTheme as the default theme for your site.
If you plan to modify the theme's frontend assets (like SCSS or JavaScript), you will need to install the theme’s dependencies and compile the assets.
Navigate to the CivicTheme directory:
Install the required Node.js packages:
Now, compile the assets using the build script:
If you’re actively developing the theme and need live reloading, you can run the following to automatically recompile assets as you work:
Note: The build process will generate CSS and JavaScript files based on the SCSS and JS located within the theme. If you're not planning to customize these files, this step is optional.
CivicTheme includes a flexible configuration system that allows you to customize various theme settings through the Drupal UI.
To access these settings:
Go to Appearance in your Drupal admin.
Find CivicTheme and click on Settings.
Here, you can adjust layout options, branding (logos, colors), and other style settings to fit your specific project needs.
As CivicTheme evolves, you’ll want to keep it up to date to receive the latest features and security fixes. You can update the theme through Composer by running the following command:
This will update the theme to the latest stable version available.
Clear Cache: Drupal’s cache system may sometimes prevent immediate reflection of your changes. Clear the cache using:
Rebuild Theme Assets: If you’ve modified SCSS or JS files and need to recompile assets:
Export Configuration: If you've made theme configuration changes through the Drupal UI, don’t forget to export the configuration to keep everything in sync:
CivicTheme provides a collection of atomic design components that can be used across your Drupal site. Each component is designed to be accessible and customizable to meet your project’s needs.
You can explore CivicTheme’s components via its Storybook instance:
By integrating these components into your Drupal site, you ensure a consistent and accessible user experience that adheres to WCAG 2.2 AA standards.
CivicTheme is an open-source project that relies on community contributions. Whether you're fixing a bug, adding new components, or improving documentation, your help is appreciated.
CivicTheme provides a starter theme and a script to generate a child theme for you to get started with.
Run the following command from within civictheme
theme directory:
This will generate a sub-theme in path/to/theme_machine_name
theme directory with everything ready to be installed and compiled.
Enable the theme in UI or with Drush:
Run the following command from within your sub-theme directory:
Always test your updates in non-production environments first.
If configuration is managed through files, make sure that your database updates run before your configuration import in your production environment.
Update CivicTheme base theme code:
Important! Do not skip the update step or you may miss the important schema changes.
Run updates and export the configuration
Check if any new regions have been introduced.
Re-provision the site with updated configuration.
Check that everything looks good.
Commit exported configuration files and deploy to the non-production environment for testing.
CivicTheme comes with a starter kit, which contains tooling required to build and integrate sub-theme TWIG, CSS and JS assets into Drupal. This tooling is mostly JS-based and requires regular maintenance.
CivicTheme may ship an update to tooling requiring your sub-themes to update their own tooling. Refer to update notes and update tooling configuration as described.
Below is required only if the release notes explicitly call out tooling updates
Although unique scenarios may arise depending on your sub-theme customisations, the most common use case involves regenerating your sub-theme:
Move your custom sub-theme directory elsewhere
Commit changes
Copy your custom sub-theme back
Use your git diff tool to accept/decline changes
Usually, you would preserve your own components
and assets
directories, as they would contain most of the sub-theme customisations, and accept the rest of changed files as updates.
Welcome to CivicTheme! CivicTheme is an open-source, government-grade design system led by open-governance with a vision.
Build an enterprise-grade atomic design system & community of practice to deliver common UI patterns & governance infrastructure to accelerate consistent, accessible, brand-aligned, research-backed UX.
The origin story of CivicTheme started from having experienced the pains of the frequent reinvention of solutions and inconsistencies in design across multiple projects, resulting in inefficiencies and fragmented user experiences. A unified, world-class design system, co-created with the community, is essential to standardise solutions, enhance user experience, and drive innovation by addressing common problems and desired outcomes.
For every citizen.
CivicTheme is an open-source design system developed through an open-governance model, driven by a collaboration of government agencies, digital agencies, and community members who actively use the product. It was created to enable governments and organisations to rapidly build modern, consistent, and compliant digital experiences.
CivicTheme's development is shaped by contributions from the community, ensuring it evolves to meet the needs of various sectors. Initially developed as a Drupal theme, CivicTheme aspires to support a broader range of languages and frameworks in the future.
CivicTheme is comprised of three key components:
CivicTheme is built around the principles of atomic design, meaning it provides a scalable, reusable set of components that can be combined to build digital interfaces. The Design System exists as both a visual guide in Figma and a component library in Storybook.
CivicTheme is more than just a design system; it also offers a set of supporting tools, policies, and guidelines to ensure a smooth development process, maintain consistency, and promote best practices. This includes:
Development guidelines to ensure proper integration of CivicTheme components.
Accessibility standards to ensure components meet government-grade compliance.
Policies to guide contributions and ensure that every addition aligns with CivicTheme’s inclusive and open-source nature.
At the heart of CivicTheme is a community of practice composed of government agencies, digital agencies, and individual contributors. This community actively uses, maintains, and improves CivicTheme.
CivicTheme relies on community contributions to grow and evolve, with an open-governance model that invites users to participate in shaping the design system.
Contributors can engage through CivicTheme’s GitHub repositories, its Slack channel, and other community forums to provide feedback, submit enhancements, or suggest new components.
Although CivicTheme originated as a Drupal theme, it is designed to be flexible and adaptable to support other frameworks and content management systems in the future. Currently, the Drupal theme provides all the necessary configurations to integrate CivicTheme’s UI Kit components with Drupal CMS. The components aim to meet WCAG 2.2 AA standards, as compliance and accessibility are core features.
To explore CivicTheme in action, you can view a variety of demo sites tailored to different industries:
The following page outlines the process of a medium contribution to CivicTheme.
The following page outlines the process of a major contribution to CivicTheme.
– A live, interactive environment where you can view and test all the components available within CivicTheme.
To contribute, please read the .
Ensure that you always review the prior to beginning the update process.
or download the from Drupal.org and place into the desired location.
Run creation script to create a new sub-theme with the same name
We're always looking at ways to improve our model for contributions, and rely on your feedback to ensure an enjoyable contribution experience. The best way to give us feedback is to join our and chat to us there, or contact us via !
The Figma file is a visual representation of CivicTheme's components and design templates, allowing designers to work directly with pre-built UI elements.
: The UI Kit is a collection of components built with HTML, CSS, and JavaScript, aiming for WCAG 2.2 AA accessibility standards out-of-the-box. This ensures accessibility compliance across all digital services that use CivicTheme.
: Storybook provides a live, interactive environment for developers and designers to explore components, understand their behaviour, and integrate them into different projects.
– Latest stable build. Use the "generated content" menu item to explore multiple component variants.
– CivicTheme adapted for government sector content.
– Example of CivicTheme tailored for higher education.
– CivicTheme for corporate industry content.
CivicTheme continues to evolve as an essential tool for delivering consistent, accessible, and modern digital experiences, driven by its community and contributions. To be part of the evolving journey of CivicTheme's vision, check out our .
We're always looking at ways to improve our model for contributions, and rely on your feedback to ensure an enjoyable contribution experience. The best way to give us feedback is to join our and chat to us there, or contact us via !
We're always looking at ways to improve our model for contributions, and rely on your feedback to ensure an enjoyable contribution experience. The best way to give us feedback is to join our and chat to us there, or contact us via !
We're always looking at ways to improve our model for contributions and rely on your feedback to ensure an enjoyable contribution experience. The best way to give us feedback is to join our and chat to us there, or contact us via !
Component name
[Insert component name]
Type
[Atom, Molecule, Organism, etc.]
Intended purpose
Short description of the purpose of the component (e.g., "To ensure proper alignment of text in mobile views.")
Primary use case
[Describe the primary scenario where this component is used.]
Secondary use case
[Optional, additional scenarios where it could be applied.]
Do any existing patterns fulfill this need?
[Yes/No. If yes, reference the relevant pattern.]
Intended user interactions
[Describe basic interactions (e.g., "Button click changes state.")]
Expected component behaviour
[Define behaviour under different conditions (e.g., responsive behaviour, error states).]
WCAG compliance level
[A, AA]
Expected component behaviour (accessibility)
[Describe basic accessibility considerations.]
Potential accessibility challenges
[List any accessibility risks, or "None."]
Research completed
[Optional. Include if any user research has been done.]
Results
[Summarise results briefly if available.]
Security considerations
[Describe any minor security concerns if applicable.]
Data handling requirements
[Describe handling of sensitive data, or "None."]
Privacy concerns
[Any privacy issues, or "None."]
Submitted by
[Contributor's nName]
Date
[Submission date]
Contact information
[Name, Email or GitHub username]
Component name
[Insert Component Name]
Type
[Atom, Molecule, Organism, etc.]
Intended purpose
Provide a detailed explanation of the component’s purpose (e.g., "To extend the functionality of the form field component to support file uploads.")
Primary use case
[Define primary scenarios.]
Secondary use case
[Optional, additional scenarios where it could be applied.]
Do any existing patterns fulfill this need?
[Yes/No. If yes, reference the relevant pattern.]
Description of component
[Provide background on how the component was conceived.]
References/inspiration sources
[Provide links or files (e.g., Figma, mockups).]
Intended user interactions
[Describe expected interactions (e.g., "Multi-step form progress displayed dynamically.")]
Expected component behaviour
[Define behaviour in various contexts (e.g., loading states, user errors).]
WCAG compliance level
[A, AA]
Expected component behaviour (accessibility)
[Outline required accessible interactions and considerations.]
Potential accessibility challenges
[List known challenges or risks.]
Research completed
[Provide key research insights. If possible, show how these insights influenced the component.]
Results
[Link to additional resources, if any.]
Security considerations
[List any potential risks, such as user input or data handling.]
Data handling requirements
[Describe if the component interacts with user data.]
Privacy concerns
[List any privacy risks, if applicable.]
Required technology/framework support
[e.g., Drupal, React, Vue.js]
Known component dependencies
[List dependencies, if any.]
Performance expectations
[Specify performance goals or requirements (e.g., loading speed, responsiveness).]
Submitted by
[Contributor's name]
Date
[Submission date]
Contact information
[Name, email or GitHub username]
Component name
[Insert component name]
Type
[Atom, Molecule, Organism, etc.]
Intended purpose
Comprehensive explanation of the component’s purpose and its role within CivicTheme.
Primary use case
[Define primary scenarios for its use.]
Secondary use case
[List other potential uses.]
Do any existing patterns fulfil this need?
[Yes/No. If yes, reference relevant patterns and explain why they do not suffice.]
Description of component
[Detailed background on the inspiration and rationale for the component.]
References/inspiration sources
[Provide links, files, mockups, or relevant research documents.]
Intended user interactions
[Describe all user interactions and how they affect the component.]
Expected component behaviour
[Detail how the component should behave in different scenarios (e.g., error handling, loading states).]
WCAG compliance level
[A, AA]
Expected component behaviour (Accessibility)
[Describe how the component supports accessible interactions.]
Potential accessibility challenges
[List challenges that might arise from complex interactions.]
Research completed
[Provide key findings from multiple research rounds.]
Results
[Link to more comprehensive research documentation.]
Security considerations
[Detail any security vulnerabilities the component might introduce.]
Data handling requirements
[Describe how the component manages data securely.]
Privacy concerns
[Address any privacy concerns tied to user data.]
Required technology/framework support
[e.g., Drupal, React, Vue.js]
Known component dependencies
[List all dependencies, including external libraries.]
Performance expectations
[Provide expected benchmarks, including performance for large datasets, animation efficiency, etc.]
Submitted By
[Contributor's name]
Date
[Submission date]
Contact Information
[Name, Email or GitHub username]
This page outlines the basics for getting started with your contribution
When you’re ready to start contributing, follow CivicTheme's contribution model to ensure your work aligns with the standards for small, medium, or major contributions. Create a new branch to isolate your work:
Small contributions: Small fixes, minor design tweaks, or documentation improvements.
Medium contributions: Adding new features or extending components.
Major contributions: Major changes requiring the RFC process.
Regardless of the contribution type, be sure to:
Write clean, modular code that is easy to maintain.
Follow established design patterns to ensure consistency with existing components.
Prioritize accessibility and usability in your changes to meet CivicTheme’s government-grade standards.
While developing, you can view your changes in real-time with the development server running:
Make sure to:
Test your changes across multiple devices and browsers.
Ensure that the new feature or bug fix works for both desktop and mobile experiences.
Verify that your changes are responsive and maintain the same level of accessibility.
Once you’ve completed your contribution and confirmed everything works as expected, commit your changes:
Use descriptive commit messages to make it easy for others to understand the purpose of your changes. Then, push your branch to your GitHub repository:
After pushing your branch, create a pull request (PR) on GitHub to submit your contribution. This will initiate the review process.
Navigate to the CivicTheme repository and click new rull request.
Title your PR clearly to describe what it addresses.
Link any related issues (e.g., "Fixes #123") to provide context.
Describe the changes in detail, explaining what was changed and why.
Include screenshots or examples if applicable, especially for design-related changes.
Once submitted, the CivicTheme core team will review your PR.
Your PR will go through a review process, during which CivicTheme maintainers and contributors will provide feedback or suggestions. Be prepared to:
Address requested changes promptly by making updates to your branch.
Ensure you re-test after making changes to avoid breaking existing functionality.
Be open to feedback and discussions to improve the quality of the contribution.
Once all feedback is addressed and tests are passing, your contribution will be merged into the main project.
It’s important to keep your fork in sync with the latest updates from the CivicTheme repository to avoid conflicts and ensure you’re working with the most up-to-date code.
To pull the latest changes from upstream:
Resolve any conflicts that may arise and push the updated branch back to your repository.
CivicTheme encourages continuous contributions. Whether it’s adding new features, fixing issues, or improving documentation, your input helps the community grow. Regular contributions not only enhance CivicTheme but also give you the opportunity to:
Build your skills.
Learn from experienced developers and designers.
Grow within the CivicTheme community.
Action
Command
Clone the repository
git clone https://github.com/your-username/civictheme.git
Install dependencies
npm install
Create a new branch
git checkout -b feature/your-feature-name
Start the development server
npm run dev
Run tests
npm test
Commit your changes
git add . && git commit -m "commit message"
Push your branch
git push origin feature/your-feature-name
Pull latest changes from upstream
git fetch upstream && git merge upstream/main
We're always looking at ways to improve our documentation for contributions and rely on your feedback to ensure an enjoyable contribution experience. The best way to give us feedback is to join our Slack channel and chat to us there, or contact us via email!
The CivicTheme Code of conduct promotes a respectful, inclusive environment for all contributors. It outlines acceptable behaviour, participation guidelines, and steps for addressing conflicts.
We ask that all members of our community, in any space (virtual or physical), adhere to this Code of Conduct, promoting understanding, empathy, and personal awareness of all individuals, including those from the Drupal and greater technical communities, even when disagreements arise.
We pledge to create a welcoming, harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, experience level, nationality, personal appearance, race, religion, or sexual identity and orientation.
Positive behaviours:
Use welcoming and inclusive language.
Be respectful of differing viewpoints and experiences.
Accept constructive criticism gracefully.
Focus on what benefits the community.
Show empathy towards others.
Unacceptable behaviours:
Sexualised language or imagery, and unwelcome advances.
Trolling, insulting, or derogatory comments.
Personal or political attacks.
Harassment, public or private.
Publishing others’ private information without permission.
Conduct inappropriate in a professional setting.
Listen and engage actively: Read the conversation backlog before joining. Assume good intent, as participants come from diverse backgrounds.
Promote understanding and empathy: Engage with others respectfully, especially those you may disagree with. Strive to increase personal awareness of diverse perspectives.
Respect other experiences: Speak from your experience, not for others. Don’t invalidate someone’s story.
Challenge ideas, not people: Ask questions and focus on the ideas being discussed without personal attacks.
Inclusive language: Use stated names and pronouns, and respect others' identities. If unsure, ask respectfully in private.
Lurkers welcome: Participation is valued, even if just observing. Introduce yourself when joining.
Stay on topic: Avoid spamming, thread hijacking, or excessive off-topic conversation, especially during meetings.
Sharing content: Do not share CivicTheme content without explicit permission from all participants involved.
Reporting issues: Screenshots for harassment reporting are allowed without permission, but avoid using them to shame others.
Address conflicts directly: Where safe, address issues in the space where they arise, or contact an admin for help.
Admin support: Admins or Community Managers can help when conflicts escalate.
Tiered response system for disruptive behaviour:
Tier 1: User is welcomed, asked to review participation guidelines, and read the backlog.
Tier 2: User is gently reminded to stay on topic or follow participation guidelines.
Tier 3: Moderator privately messages the user, explaining the issue and offering suggestions for improvement.
Tier 4: If behaviour persists, the user is kicked from Slack for at least 24 hours.
Non-tiered response (immediate ban): Intentionally disruptive users, engaging in bullying or harassment, may be kicked without following the tiered process. Repeated offenses will result in a permanent ban.
Re-admittance after kick: Users kicked from Slack can message the moderator or another admin to request re-admittance. The kick is not a ban, and disruptive individuals can receive guidance on improving their behaviour and using more inclusive, sensitive language.
Project maintainers are responsible for enforcing this code of conduct. They may remove, edit, or reject contributions or ban contributors for inappropriate behaviour.
This code of conduct applies within project spaces and in public spaces where a community member represents CivicTheme (e.g., official emails or social media).
Instances of unacceptable behaviour may be reported by contacting the team at info@civictheme.io. The team will review and investigate all complaints confidentially.
This code of conduct is adapted from the Contributor Covenant, version 1.4, Drupal Diversity & Inclusion’s Participation Guidelines, and CivicTheme community input.
If you have feedback or questions about our code of conduct, please join our Slack channel and chat to us there, or contact us via info@civictheme.io!
This content authoring documentation is written with Site Editors, Content Administrators and Site Builders in mind.
You should be comfortable using WYSIWYG editor and adding/editing content via the web interface.
Having prior content administration experience with Drupal or GovCMS is a bonus.
Prior HTML/CSS knowledge or coding experience is not required.
See the list of components that CivicTheme supports right now. This list will grow as the community and adoption grows!
CivicTheme is built using atomic design principles, offering a hierarchy of components ranging from foundational styles to complex, reusable patterns. Below, you'll find a complete breakdown of the components, categorised into Base, Atoms, Molecules, and Organisms.
For a visual list of our components, please check out the Figma file.
The foundation of CivicTheme includes variables and tokens that ensure consistency in design, enabling scalable, maintainable, and reusable components.
Colours
Background
Elevation
Fonts
Grid
Icon
Image
Item list
Layout
Spacing
These base elements define the core design framework, supporting the styling and layout for all components within CivicTheme.
Atoms are the simplest, most basic building blocks in CivicTheme. They represent single UI elements and are designed for high reusability across various contexts.
Back to top
Button
Chip
Content link
Form control
Checkbox
Field description
Field message
Fieldset
Label
Radio
Select
Textarea
Textfield
Heading
Link
Paragraph
Popover
Quote
Table
Tag
Text list
Toggle
Molecules combine two or more atoms to form functional UI elements. These components are slightly more complex and include grouped elements with interactive behaviour.
Accordion
Attachment
Breadcrumb
Callout
Event card
Field
Figure
Group filter
Logo
Map
Navigation card
Next Step
Pagination
Price card
Promo card
Publication card
Search
Service card
Single filter
Snippet
Subject card
Table of contents
Tabs
Tag list
Tooltip
Video player
Organisms are highly structured, composite components consisting of multiple atoms and molecules working together. These components define the most complex reusable patterns.
Alert
Banner
Campaign
Carousel
Footer
Header
List
Message
Mobile navigation
Navigation
Promo
Side navigation
Skip link
Slider
Social links
The clear categorisation of components within CivicTheme supports:
Reusability: Ensures consistent implementation across various projects.
Maintainability: Simplifies updates and modifications with minimal disruption.
Scalability: Easily extendable for new use cases, frameworks, or jurisdictions.
By adhering to atomic design principles, CivicTheme empowers designers and developers to create accessible, compliant, and scalable digital experiences for governments globally.
For more details, explore the Figma File.
This page is in development.
This is the central guide on how to contribute to CivicTheme, be it code or design.
Contributing to CivicTheme follows a clear process to ensure that all additions meet community and technical standards. This guide will help you understand the various levels of contributions—small, medium, and major—along with the associated requirements and steps for each.
Before you start contributing to CivicTheme, review our contribution model. This model shows you how to consider your contributions so that they can be routed and managed properly.
CivicTheme welcomes contributions in various forms, from small enhancements to more complex components. The process is designed to assess whether an existing component fulfils the needs, or if a new contribution is necessary. Contributions are categorised into three levels:
This document outlines each level of contribution and provides guidance on how to determine the most appropriate level for your proposed changes.
A small contribution typically involves minimal changes, such as small adjustments to existing components or minor bug fixes. This type of contribution is most often used when:
A solution already exists in the component library.
The existing component can be easily extended with minimal code changes.
Minimal documentation: Provide a brief description of the change, what it fixes or improves, and any references to related issues. User guides will be updated, including compliance, security, or research sections.
Testing: Ensure your changes do not break existing functionality. Provide tests or manual testing instructions, and ensure you've thoroughly tested prior to submitting.
Code quality: Maintain consistent code style with the existing CivicTheme codebase.
If a component or solution already exists and only minor tweaks are needed.
If the functionality of a component is extended without affecting its broader use.
Fixing a CSS alignment issue on an existing button.
Adding a small utility class to a component for accessibility.
Follow the basic contribution guidelines and submit your pull request (PR) via GitHub.
Reference related issues or discussions if applicable.
A medium contribution is necessary when your proposed changes require extending an existing component or creating a new feature that addresses a specific need but does not yet have a broader application.
Documentation: Provide a detailed explanation of the contribution, including use cases, and reference designs or discussions.
Testing: Provide thorough test cases to ensure the contribution works in all expected environments, ensuring you've tested your changes prior to submitting.
Broader Use: Clarify if the new feature can evolve for wider usage across the CivicTheme system.
If the existing component cannot be extended easily and requires more significant changes.
If others can potentially reuse the new feature, but it is initially being built for a specific purpose.
Adding a new input field type to the form component with validation.
Creating a new, reusable layout option for a specific website section.
Provide more detailed documentation in the PR, explaining the purpose and broader application possibilities.
Ensure full test coverage and reference any designs or issues.
Submit via GitHub with a link to the related issue or proposal.
Major contributions involve significant changes to CivicTheme, such as new components, removing existing features, or altering fundamental design principles. These changes require broader community discussion and approval through the .
When to use the RFC process for major contributions:
Introducing new components or patterns.
Adding new API surface areas or modifying major existing APIs.
Removing features already released.
Creating new conventions or design principles.
Comprehensive documentation: A detailed breakdown of the problem, proposed solution, and how the contribution fits into the broader CivicTheme structure. Include mockups, wireframes, or other design assets if applicable.
Broader use: Ensure the new component is designed with reuse in mind, following design principles that support various use cases across the system.
Extensive testing: Rigorous testing in various environments and edge cases is required to ensure the component is robust and can be maintained. Please provide test cases that reviewers can test as well.
If there is no existing component or solution that can be easily extended or adapted.
If the new component is expected to be used broadly across different applications or sites.
Creating an entirely new navigation component for CivicTheme.
Proposing a large design system change that requires updates to multiple components.
Open a discussion in the CivicTheme community forums, Drupal.org, or GitHub discussions to gather feedback before coding begins.
Submit a detailed proposal and follow the community approval process.
Once approved, develop the contribution, ensuring thorough documentation and testing before submitting a PR on GitHub.
In some cases, a solution may only be applicable to a single website or application. In such instances, hardcoding the solution directly may be more efficient than contributing a reusable component. However, whenever possible, contributions should aim for reusability within the broader CivicTheme ecosystem.
When a solution is too specific to be reused across other projects or cannot be made generic.
Adding a one-off feature or custom styling for a single website section that does not fit CivicTheme's broader design principles.
By following this guide, you can ensure your contributions to CivicTheme are aligned with the project's goals and community standards. Contributions, whether small or large, help improve the system and provide value to all CivicTheme users.
Ensure you follow the appropriate process based on the type of contribution you're making and provide all necessary documentation and testing before submitting your work.
We're always looking at ways to improve our model for contributions, and rely on your feedback to ensure an enjoyable contribution experience. The best way to give us feedback is to join our Slack channel and chat to us there, or contact us via email!
The header section appears at the top of your website. It comprises:
When you apply the Theme, it's applied to all four above mentioned sections of the header.
To apply the Light
or Dark
theme to the Header go to /admin/appearance/settings/<site-name>
and use the radio buttons.
In this section you can also configure the Logo type.
The examples below illustrate the Light
and Dark
theme applied to the header.
Note: the below examples only illustrate the Light and Dark theme, these don't give examples of the Header logo options. Go to the Header logo page for more logo examples.
Global settings such as Favicon, Colours, Logos, Site Slogan, Header, Footer, Navigation, character limits on cards, and more, can be configured in the "Settings" section.
You must be logged in with the "Site administrator" role to access this page.
Go to /admin/appearance/settings/<theme-name>
The Favicon is used in the browser tab. It's the small icon which is often a representation of the logo of brand.
Go to the theme settings page /admin/appearance/settings/<site-name>
Find the 'Page element display' at the top of the page and ensure the checkbox is filled (the 'Favicon' section won't display if the 'Page element display' box isn't filled).
Then do one of the following
Check the box the 'Use the favicon supplied by the theme'
Paste the relative path in the 'Path to custom icon'
Select Choose file
to upload a new favicon.
This page outlines the process for contributing to the CivicTheme Figma UI Kit.
The CivicTheme atomic design system is built on a set of UI building blocks. All of the CivicTheme components, patterns, icons and solutions are:
Compliant with Australian Government design system
Built with WCAG 2.2 AA compliance in mind to meet accessibility standards
Adaptable with GovCMS Drupal 10 out-of-the box
Responsive
Consider the criteria below before submitting your contribution for consideration:
Purpose: New designs should address specific needs, enhance user experience, and add value. They should either extend existing patterns or create new ones.
User researched and tested: Your contribution should be backed by user research and testing.
Accessibility tested: Your design should meet WCAG 2.2 AA accessibility standards or higher.
Atomic design: Contributions should comply with atomic design principles to maintain consistency and modularity whilst aligning to existing design direction.
Once you've established the type of contribution you wish to make, submit your design idea via GitHub to ensure transparency and community discussion.
Create a GitHub account (if you don’t have one).
Go to the CivicTheme UI Kit Project and check for existing issues related to your idea.
If your idea isn't listed, create a new issue, using the relevant specification, and we’ll review it.
Ideally, design contributions should be supplied as fully realised Figma files and submitted via GitHub; however, we know this is not always possible, so there are other options.
With that in mind, the CivicTheme team will consider contributions in many formats:
Figma file: A copy of the full CivicTheme Figma file, or a stand-alone file that we can merge into the main file.
Illustration file: If you are adding illustrations or iconography to the UI kit, please provide an illustration file (.svg, .png, or .jpg).
Wireframe or sketches: This can be a photo of that napkin you sketched your ideas on when inspiration hit.
If you’re working with a copy of the CivicTheme Figma file, once you’ve finished making changes, you need to export the file in .fig format. To do this, go to "File" and select "Save as .fig." This will save the file on your local drive.
When saving the file, please use the prefix CivicTheme_Design_ then add your name to the end of the file name as shown below.
Example: CivicTheme_Design_[YourName].fig
Submitting via GitHub:
Select contribution type:
If it’s a small contribution, such as minor tweaks or updates, select "Bug" or "Minor enhancement" as the issue type.
For medium or major contributions, select "Feature request."
Title:
Include "Design contribution" in the title, along with the specific focus of your contribution. For example:
“Design contribution - Template - Homepage - Mobile” or,
“Design contribution - Navigation component - Desktop”
User story:
Fill out the "User Story" section in the issue template to describe the context and reasoning for your contribution. Be clear about the problem you're addressing and the proposed solution.
Description:
Provide a detailed description of your contribution. Include:
Page and name: Reference the page and component name from the Figma file where changes have been made. For example:
Page 05 Mobile Templates | Template - Homepage - Mobile.
Rationale: Explain the reasoning behind your change. Why is it necessary? How does it improve CivicTheme's design system?
Supporting evidence: If your contribution is research-backed (e.g., user testing, accessibility standards), provide relevant links or documentation.
Testing: Indicate whether the change has been tested and provide results if applicable (e.g., design QA, browser/device testing).
Contribution type:
For small contributions, provide a brief summary of changes.
For medium contributions, specify if the component can be reused or extended.
For major contributions, ensure the description aligns with the broader CivicTheme design principles and can be applied across multiple contexts.
We're always looking at ways to improve our model for contributions, and rely on your feedback to ensure an enjoyable contribution experience. The best way to give us feedback is to join our Slack channel and chat to us there, or contact us via email!
CivicTheme allows several Header logo configurations.
You can add up two logos, a Primary and a Secondary logo. The Secondary logo is useful in the case of dual branding, e.g. your Department logo and the Commonwealth Coat of Arms.
Once you have uploaded your logo you can then select how you want the logo/s to display in the Header.
When you set the Header Theme, Light
or Dark
, you need to consider the logos you've uploaded. If you use the Light
theme, your logo needs to be dark enough to be visually accessible on the light background. If you use the Dark
theme, you need to ensure you're logo is light enough that it will be visually accessible on a dark background.
The process is the same for the Primary and the Secondary logo.
Go to /admin/appearance/settings/<site-name>
.
Scroll down to Components.
Select Logo.
Fill in the alt text for the logo first (so you don't forget later).
Open the Primary logo dropdown and take note of which logos need to be added for which use: Light
and Dark
theme, desktop and mobile use.
Select Choose file
and follow the steps to add the logo. Do this for every logo type for the Primary logo.
If you're using a Secondary logo, open the Secondary logo dropdown and follow the same steps.
Scroll to the bottom and select 'Save configuration'.
Depending on the space within your site's 'Header', you can select how the Logo/s display.
The following table illustrates the different Logo styles using example logos:
Default
Stacked (requires two logos)
Inline
Inline stacked (requires two logos)
This article shows you how to create and edit the site-wide banner.
The site wide-banner is created using a custom 'Banner' block. The block allows you to select an image display type, set a theme, add a background image with an optional blend mode, and a featured image.
CivicTheme provides one site-wide banner block out of the box. This banner block is shown on every page by default. You can edit this existing Banner block to use on your site or create a new one.
You can override parts of the site-wide banner on a per-page basis. You can also add banner components to the banner on a per-page basis.
Depending on the size of the site you may require more than one site-wide banner block to be used on different sections of the site. If this is the case, the site administrator will need to select which parts of the site to display which banner block.
Go to Structure > Block layout or /admin/structure/block/block-content
Select the 'Custom block library' tab.
Look for 'Banner' in the list of blocks (or use the 'Block type' filter and filter for 'Banner') and select 'Edit'.
'Block description' is the name of the block. It doesn't display anywhere on the website front end. This can be renamed if you wish.
Set the 'Type'. This will be set to 'Default'. Changing to 'Large' will create a diagonal crop effect on the bottom of the background image and change the shape of the featured image (if you have added one).
Select a 'Theme', Light or Dark. This affects the background image and the text on the banner. Note: if you choose to add certain banner components (such as a 'Content' component) to individual page banners whilst still inheriting some aspects of the site-wide banner, you will need to pay attention to the theme you have selected on the site-side banner and the theme you select on the components as the text colour on the banner may be affected.
Add a background image. By default your CivicTheme site will display a solid colour in the banner background area. The colour will depend on the theme and colours you've chosen for the site. You can override the background colour by adding an image. The theme chosen above will affect this image.
Select a 'Blend mode'. This is optional and creates subtle filters on the background image.
Add a 'Featured image' if you wish. This will display on the right side of the banner, on top of the background image.
Go to Structure > Block layout or /admin/structure/block/block-content
Select the 'Custom block library' tab.
Click the 'Add custom block' button.
Select 'Banner'.
Give the block a name in 'Block description' then follow the instructions to edit an existing banner from step 5.
The below banner demonstrates:
'Type' set to 'Large'. Note the diagonal crop effect on the bottom of the background image, the shape of the feature image and the coloured block effect behind it.
'Theme' set to 'Dark'.
Background image added.
'Blend mode' set to 'Soft light'.
'Featured image' added.
The banner below demonstrates:
'Type' set to 'Default'. Note the effect this has on the background image and the feature image compared to the example above.
'Theme' set to 'Light'. Note the change to the background image and the text colour.
Background image added. This is the same background image as the example above.
'Blend mode' set to 'None'.
'Featured image' added. This is the same featured image as the example above.
The Primary navigation is the main navigation for your website. It appears at the top of the page on the desktop below the Secondary navigation.
How your roles and permissions have been configured will determine who can access and configure the menus. If your roles and permissions are out of the box, then only the Site Administrator (and Administrator) can edit the menus.
The instructions below presume the tech team have already created a Primary navigation, even if there are no menu items in it.
Go to Structure > Menus > Primary navigation /admin/structure/menu
Find the Primary navigation
and select Edit menu
If there are no menu links present, select the + Add link
button to add your first Menu link.
Continue to add menu links
Each new link will be added to the top of the menu and have a default weight of 0.
From there you need to place the link in the correct order.
It's recommended to order the menu links as you create them, especially if you have a large menu.
There are two ways to order your menu links:
Use the handles to drag the links around to reorder
Using row weights to set the weight.
Simply grab the handle and drag to the required position. Nest child menu links below the appropriate parent link.
Click Show row weights
to change from handles to weights. Open the dropdown to show the weight.
The lower the weight (e.g. -10)
the higher the link will appear in the menu
The higher the weight (e.g. 10)
the lower the link will display in the menu.
Weights are also applied to child menu links.
To show a menu link item in the navigation the Enabled
checkbox must be filled.
If you want to hide the link from the menu, uncheck the box. If you hide a menu link, any child menu links will also be hidden from the menu.
CivicTheme has three menu styles:
None
Dropdown
Drawer
Note: at the time of writing, the styles None
and Dropdown
are broken. Examples will be added when these are fixed.
To configure the menu style:
Go to the Primary navigation setting at /admin/appearance/settings/[site-name]
Scroll down and click to open Navigation
In the Dropdown type
select the desired style
Save the configuration
You can also access menu settings for an individual page from the page itself.
Go to the page in question, and enter edit mode
On the right side of the edit interface click to open Menu settings
Add a Menu link. This is the link that will display in the navigation. If possible, it should match the page title. If the page title is very long you may consider shortening the Menu link.
Add a description if desired. The description displays when a user hovers over the Menu link.
Select the Parent link by opening the dropdown. If the menu is very large it can be challenging to find the right parent, and it might be easier to do this part in the Primary navigation settings as above.
Assign a weight. Again, if the menu is large it might be easier to go to the Primary navigation settings and use the handles to drag it to the right position or view the row weights for the entire menu to know which weight to assign.
The Secondary navigation appears at the very top of the page on the desktop, above the Primary navigation.
Vue JS (coming soon)
React (coming soon)
Angular (coming soon)
Drupal Theme
Logo type
Desktop output
Mobile output
Default Uses the Primary logo only
Stacked Uses both the Primary & Secondary logos
Inline Desktop uses both Primary & Secondary. Mobile uses Primary only.
Inline stacked Desktop (inline) & mobile (stacked) both use both Primary & Secondary logos.
This page is in development.
Choose whether to open internal and external links in a new window, and learn how to override external link domains.
Will open all internal and external links in a new window.
Will only open external links in a new window. Internal links will open in the same window. This is the most common behaviour.
There might be a reason to treat an external link like an internal link and open it in the same window. If so, follow the instructions and add one domain to exclude per line.
Go to /admin/appearance/settings/<site-name>
Scroll down to the 'Component' section.
Select 'link'.
Select the Light or Dark theme for the Skip link section
The 'Skip link' section is an accessibility feature that allows people using assistive technology to skip navigation links by using the 'Skip to main content' button.
This illustrates the Light theme skip link and a Light theme menu.
This illustrates the Light theme skip link and a Dark theme menu.
Go to /admin/appearance/settings/<site-name>
.
Scroll down to the 'Components' section and select 'Skip link'.
Select the Theme.
Scroll down and select 'Save configuration'.
The Signup component allows you to place a site-wide or per-page sign up block on your site.
This is a Block type of Component. Signup is preconfigured out of the box, you can choose to use it as is or customise the content.
Go to Content > Blocks > Custom block library or /admin/content/block
.
Select "Add content block" then "Component".
Fill in the "Block description". This is used only to reference the block, it doesn't display on the front end.
Open the "Components" dropdown and select "Promo".
Fill in the "Title" and "Content". These both display on the front end.
Add the "Link URL" and "Link text".
Go to Content > Blocks > Custom block library or /admin/content/block
.
Find the relevant "Component" block type. You can filter by'Block description" and/or "Block type".
Select "Edit", make the required changes, and "Save".
Every component in CivicTheme, such as the "Signup" 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.
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.
Because the Signup is a Block, you can configure it to display globally. For example, if you want to display the Signup just above the footer on every page, you can configure to display in the Content bottom
region.
You must be logged in with the "Site Administrator" role to do this.
Go to Structure > Block layout or /admin/structure/block
Scroll down to Content bottom
Select "Place block"
A pop up will open, enter the name of your block.
Select "Place block".
A pop up will open. In here you can configure the block to stop it displaying on certain pages.
Like the header logo, the footer logo can be configured in a number of different ways. If you have uploaded two logos to your site, on mobile devices they will always stack if you select a logo style that displays two logos.
The same logos are used in the header and the footer. These instructions presume you have already added logos to the site and just need to configure the display.
Go to /admin/appearance/settings/<site-name>
or "Appearance" in the menu, find your site and select "Settings".
Scroll down the page until you see the "Components" section, and select "Footer".
Select from the "Logo type" options:
Default
Stacked (requires two logos)
Inline
Inline stacked (requires two logos)
This table shows the layout of the logos at a glance. In all cases, two logos have been uploaded to the site, but the Footer logo settings determine if both logos or only the Primary logo displays.
Logo type
Final output (desktop)
Final output (mobile)
Default Uses the Primary logo only
Stacked Uses both the Primary & Secondary logos
Inline Desktop uses both Primary & Secondary. Mobile uses Primary only.
Inline stacked Desktop (inline) & mobile (stacked) both use both Primary & Secondary logos.
If you have uploaded two logos to your site and you select 'Default', only the Primary logo displays.
Social media links and partial footer menu shown here for context.
If you have uploaded two logos to your site, and you select 'Inline', only the Primary logo will display.
If two logos have been added to your site, they will 'stack' when 'Inline' style is selected.
The Footer is a global element that sits at the bottom of every page on your site. Common Footer elements are Logos, Social links, Footer navigation, Acknowledgement of Country, Copyright and Privacy information.
The Footer is created using a series of Blocks. Build your footer using Block types of "Component", "Social Links" and "System".
Some Blocks used in the Footer area available out of the box. You can configure certain settings to suit.
Before you can build your Footer you need to create all the blocks that will make up the Footer.
From the list below, follow the steps to create the Blocks you wish to use.
The instructions on how to place the Blocks in the correct region are on each page.
You will need to be logged in as the "Site Administrator" role.
Go to /admin/appearance/settings/<site-name>
or Appearance in the menu, find your site and select "Settings".
Scroll down the page until you see the "Components" section, and select "Footer".
Use the Theme radio buttons to set the footer in Light or Dark theme.
Note: the Theme you set here for the global Footer configuration must match the Theme you set on the Blocks you're using to create the Footer. For example, you must set the "Social links" Block to Dark
if you set your Footer Theme to Dark
.
You can choose to display a background image on your footer. However, keep in mind that a detailed image could create issues with accessibility if the written content in the footer can't be read on top of the image.
In the "Footer background image path" section, upload a background image, or paste in the path to the image if it's already in the media library.
Note: The footer column headings are switched off in these examples, further screenshots to come to illustrate the footer column headings.
CivicTheme allows you to change the colour of all elements from the configuration page without additional development.
To enable this functionality, check "Use Colour Selector". If not selected, the default CSS will be used.
There are 2 visual themes available: Light
and Dark
. These are the visual themes consisting of Palette Colours that every component can be shown as.
Palette Colours are named after the purpose of the colour: Heading
defines the colour of all headings, while Background
defines the background colour.
Some colours are represented in different variants: Border light
, Border
, Border dark
. This is to allow more visual variety on component colours.
Every component has a mapping to a set of designated colours based on the element the component uses.
The Brand colours use predefined formulas that automatically update the Palette colours. In other words, if you change the brand colours then the corresponding dependents will automatically update.
This is used as a short-hand to set 14 Palette colours using only 3 Brand colours. It also allows us to quickly produce Palette colours if only Brand colours are provided.
Brand colours is only a "helper" tool. Every Palette colour value produced from the Brand colour can be overridden.
To see which Brand colours drive which Palette colour, check the "Show dependents" checkbox under the Brand colour.
This page is in development.
Out-of-the-box, CivicTheme comes with 3 content types:
These are the most common content types that you need to start. You can add more content types as necessary.
The 'Page' content type is the most flexible content type.
Choose from a wide range of CivicTheme out-of-the-box components to build pages.
The 'Event' content type allows you to add event pages that display event details, date, location and map.
You can add an 'Alert' to any page or section of your site. A horizontal Alert bar will display at the top of the webpage above the Header.
Learn how to use the Social links custom block to link to your social media platforms
You can create a social links block and apply it site-wide, or apply it on a per-page basis.
CivicTheme comes with a set of social media icons for Facebook, LinkedIn and Twitter. You can upload other social media icons for different platforms. These must be in SVG format to ensure your brand colours will be applied.
Note on theme settings: If you set your social media link block to display in the footer aligned with the footer logo, you need to ensure you set the theme, Light
or Dark
,the same for the logos and the social links.
Go to the Content > Blocks, or /admin/structure/block/block-content
Click Add custom block
Select 'Social links block'
Select the 'Light' or 'Dark' theme
Choose an exisiting icon (for Facebook, LinkedIn or Twitter), or, upload a new icons for other social media platforms (note: these must be .svg files)
If you need to add, remove, or edit a social media icon or link, or change the theme:
Go to Content > Blocks, or /admin/structure/block/block-content
Find the 'Social links' block
Select 'Edit'
This page is in development
This page is under development.
This article outlines basic configuration for the Page content type.
The 'Page' content type is the most flexible content type.
This content type allows you to choose from a wide range of CivicTheme out-of-the-box components to build a striking landing page or a simpler content page. The style of the page depends totally on how you use the components.
Go to /admin/content
Select Add content
\
Select 'Page'\
You now have a page with a Content tab and a Banner tab.
Most fields are empty when the page is first created. There are some compulsory fields that must be filled before you can save the page, and some other important items to configure now.
Note there is a Content tab and a Banner tab. Go to Banner to read more about configuring a per-page banner.
Add the page title in the Title field
Add the Summary. This displays in teasers and within links.
If you want a 'Table of contents' to display, select the checkbox. The TOC will display at the top of the page.
CivicTheme has many out-of-the-box components.
Go to Components to learn how to configure components to build your page.
Add a thumbnail image, set the vertical spacing, hide sidebar and tags.
Add an image for cards and teasers that link to this page. Every time you link to this page using a component that has an image field, it will use this image.
Vertical spacing allows you to add some extra white space at the top or bottom of the page, or both.
Top: between the bottom of the banner and top of the H1
Bottom: above the footer
Both: both of the above.
Open the Vertical spacing dropdown and select from None, Top, Bottom, Both.
Select this if you want to hide the sidebar. This will cause the content and components to display full width of the page, removing the default gutter, or sidebar, on the left and right sides.
Find these settings on the right side of the interface.
To place the page within the site menu, open the 'Menu settings' section. By default the page is not in the menu.
Check 'Provide menu link' to open the menu link fields.
Enter the 'Menu link title'. This is usually the page name and will display in the menus.
Add a description if you like, this displays when hovering over the menu link.
Open the 'Parent link' dropdown and select the parent of this page.
The 'Weight' determines the order in which each page displays below their parent page. The lower the weight the higher the position in the menu. You can also configure the order of the site menu in /admin/structure/menu
.
By default the 'Last updated date' is checked to display on the page. It will automatically display the last published date. Uncheck the box if you don't want to display the last updated date.
If you want to customise the date, use the date picker.
The URL alias is set to generate automatically. It uses the page title and the menu structure to create the URL alias.
To override the automatic URL alias, uncheck the box and add the alias to the URL alias field.
Automatically records who created the page and on which date. There is usually no need to modify this setting.
Promote to the front page (homepage) to display a teaser or card and stick at the top of lists.
Alerts provide information for site users using a horizontal bar at the top of the screen. Common examples are announcements, notices, warnings, downtime alerts or any other alerts that you want your site visitor to see right away at the top of the page.
Depending on which "type" you select, the Alert background colour will be different:
Alerts can be set to appear on all pages on the site or only on selected paths. They can also be scheduled to appear only within a specific date range.
Once a website user dismisses an Alert by pressing on the close Button (x), the alert will no longer appear when a user visits this page again. The alert, however, will be displayed again if the content changes (e.g. if some important information needs to be added to an existing Alert).
You can use the Event content type to create events that span across multiple dates.
When you add an Event, there are 2 tabs: Content and Event.
The fields for the Content tab are shown below:
The fields for the Event tab are shown below:
You can see the final output for an Event with a Map component below:
CivicTheme comes with many out-of-the-box components you can use to build your website.
There is no right or wrong component to use, it depends entirely on what you're trying to output.
To get started, we recommend clicking on the Storybook links below to visualise each component and experiment with some basic configurations. This will help you decide which component fits your needs.
To read guidelines on how to configure and implement each component, click on the link in the Documentation column below.
Adds a block of text
Adds collapsible panes of content
Card with title, body and attachments
Create an automated list that can be displayed as Navigation cards or Promo cards
A campaign style 'block' with an image, title text and body text
Embedded iFrame
Configurable list of content that uses additional sub-components
Location and embedded map
Clickable card with title, body and link
Clickable card with title, body and CTA button
Card that includes document link
Image slider (similar to carousel effect)
Webforms
The Accordion component allows you to add collapsible sections of content. You can specify the default state (expanded or collapsed) in the Accordion settings.
This section shows you how to add accordions.
Below you can see two accordions, one in its expanded form, and the other one collapsed.
Click on “Add Accordion” as shown below.
Add content for your Accordion using the fields shown below.
Title - Add the title.
Content - Add the body text.
Expanded - Check this box to force the Accordion panel to be expanded by default.
Add Accordion panel - Click this button to add additional Accordion panels.
Expand all - Check this box to force all Accordion panels to be expanded by default.
The Automated List Component displays content that is automatically curated according to predefined criteria and presented in various "teaser" variants: Promo card, Navigation card, Snippet.
This section shows you how to add an Automated list.
Below is an automated list. The content is being pulled from existing pages and displayed as `Promo card` components.
Step 1: Go to the page you'd like to add the automated list to (or create a new page) and in the Content tab, Components section, select Automated list from the dropdown list.
Step 2: Fill in the information for the Content tab as per below.
List type - controls how the content is aggregated . Out-of-the-box, CivicTheme comes with one list type. However, site administrators can set up different types of lists, that can then be selected from this dropdown.
Content type - filter content by the content types.
Metadata - further filter content by topic or site section.
Limit - how many results to display: unlimited or limited to the specified number.
Filters - choose to display filters at the top of the the automated list component.
Step 3: Fill in the information for the Fields tab as per below.
Title - You can add a title to the automated list, such as 'Latest news'.
Content - You can also add introductory text to the automated list.
Link above - Aadd a link at the top of the automated list. See the screenshot below for an example.
Link below - You can also add a link below the automated list.
The screenshot above shows an automated list limited to three results, with the title of 'Latest news'. It also has a 'link above', which is highlighted.
Step 4: Fill in the information for the Appearance tab as per below.
Theme - Select light or dark theme.
Vertical spacing - Add vertical spacing to the component if you'd like. Choices are none, top, bottom or both)
Background colour - Check the box to apply a default background colour from your colour palette.
Columns - Select how many columns to display (e.g. the screenshot above of 'Latest news' has three columns)
Items - Choose whether to display the list items as Navigation cards or Promo cards, and whether the cards will use the light or dark theme.
This article outlines how to configure the banner on a per-page basis, overriding the site-wide banner settings.
Select the 'Banner' tab to customise the banner on a per-page basis.
By default all pages on your site will inherit the site-wide banner settings.
If you want to deviate from either of these site-wide settings, select the relevant radio button.
You can override the title that displays in the banner by entering a new title in the 'Banner title' field.
Adding a Banner title doesn't override the breadcrumb or the URL alias. They will use the Page title unless you manually configure them differently.
The breadcrumb displays by default. Check 'Hide breadcrumb' to hide it.
Your site will inherit the site-wide background. If you want to change this on your page, open the Background widget and upload a new background. You can also update the 'Blend mode' on the background.
If your site-wide banner has a Featured image, it means that every child page will have a Featured image, you can't remove the featured image on a per-page basis. However you can change the image on a per-page basis in the 'Featured image' widget.
If there are any pages you don't want a Featured image on, you will need to ensure your site-wide banner does not have a Featured image.
There are two types of components you can add to the banner. 'Banner components' which display on the banner itself. And 'Bottom banner components' which display below the banner.
You can add the following components to the banner and they will display within the banner itself:
You can add the following components to the bottom of the banner.
Light
theme)Dark
theme)Refer to the settings page for explanations and examples of these banner features.
Go to the section of the manual to learn how to configure each component.
The campaign component lets you highlight content with an image, which can be displayed on the left or the right.
This section shows you how to add a Campaign.
Below is an Campaign with the image on the left.
Step 1: Go to the page you'd like to add the Campaign to (or create a new page) and in the Content tab, Components section, select Campaign from the dropdown list.
Step 2: Fill in the fields as per below.
Title - Add in the campaign title.
Image - Add an image for the campaign.
Image position - Select left or right for the image.
Date - Add a date if you'd like (optional field)
Content - Add the main content for your campaign.
Links - Add in links if you want the Campaign to take the user to a specific page or site.
Add another item - Add more links if you'd like.
Topics - Add in topic tags if you'd like them displayed on your campaign.
Add another item - Add more topic tags if you'd like.
Theme - Choose whether the Callout will use your site's light or dark theme.
Vertical spacing - Add vertical spacing on the component (above, below or above AND below).
The Callout component can be used to highlight some content (usually better for shorter content blocks).
This section shows you how to add a Callout.
Below is an Callout.
Step 1: Go to the page you'd like to add the Callout to (or create a new page) and in the Content tab, Components section, select Callout from the dropdown list.
Step 2: Fill in the fields as per below.
Title - Type in the title for the Callout.
Content - Type in your content.
Links - Add in the external link or start typing to find an internal link/page.
Add another item - Here, you can add additional links/buttons.
Theme - Choose whether the Callout will use your site's light or dark theme.
Vertical spacing - Add vertical spacing on the component (above, below or above AND below).
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.
The Content component is used to add content via a WYSIWYG editor.
This section shows you how to add a Content component. Below is some sample content that uses the Content component.
Under the “Content” tab, click on “Add Content” .
WYSIWYG editor - Enter your custom text here.
Theme - Select your theme preference, light or dark.
Vertical spacing - There are 3 options: Top, Bottom, Both. Your choice adds padding to the respective area. For example, if you select “Both”, the padding is added to the top and bottom of the custom text.
Background - This will apply a themed background colour depending on your choice of the theme color in point #2 above.
The "Quote" style allows you to add a visually styled quotation to the page.
Use the "Quote" to highlight a piece of content and provide a reference point. For example, customer testimonials, statistics or data, or quotes from interviews.
Create a "Content" component and add content.
Highlight the content you want to style as the quote, including the reference content.
Select the "Block quote" icon in the CK Editor.
Then highlight only the reference content.
Open the "Styles" select box and select "Small".
Every component in CivicTheme, such as the "Content" 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 components.
Setting a "Background" on a component can make the component visually stand-out on the page. Check the "Background" checkbox to apply a background to the component.
Tip
If you want to create a striking stand alone "Quote" with a background to really separate it from other content, you need to put the quote and reference content in its own "Content" component, surrounded by other "Content" components.
The example below shows three separate "Content" components. The first and third components use the Light
theme. The second component, housing the "Quote" "uses the Dark
theme, with the Background checkbox filled.
The example below shows three separate Content components. All three components use the Light
theme, but the component housing the Quote has the Background checkbox filled.
"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 one of the appropriate values.
Learn how to add an iFrame to any CivicTheme page.
On the page where you want to insert the iFrame, open the 'Components' dropdown and select 'iFrame' from the list.
Paste the iFrame source URL into the URL
field (note: paste only the iFrame source URL, not surrounding code. For example if the iFrame code snippet is
<iframe src="https://app.loopedin.io/civictheme-roadmap" height="900" width="100%" frameborder="0"></iframe>
only paste in the following: https://app.loopedin.io/civictheme-roadmap
.
Fill in the desired width and height for the iFrame and any additional attributes.
Save.
The Attachment component allows you add a downloadable document. The component displays a title, the last updated date and a .
Event cards are used to highlight events and are created within the Manual list component.
This section shows you how to add an Event card.
Within the Manual list component under List items, click on the dropdown and select Event card.
You can see the fields in the screenshot below.
Most of the highlighted fields are simple, self-explanatory text fields. Some of the non-text fields are explained below.
4. Date - You can click on the calendar icon to select a date from the popup date widget.
5. URL - This is an autocomplete field. Start by typing the title of the internal page or enter an external URL.
6. Topic (optional) - This is an autocomplete field. Terms must first exist in your Topics vocabulary.
The Event reference card creates an Event card based on a previously created event or page.
This article shows you how to add an Event reference card to the Manual list component.
Below is an example of an Event reference card.
Within the Manual list component under List items, click on the dropdown and select Event reference card.
There are only 2 fields.
Reference - This is an autocomplete text field that will suggest Event content type titles as you type. Event content must exist in your site. You can create Events here: [your_site]/node/add/civictheme_event
Theme - Select whether you want light or dark theme settings.
The Navigation reference card is a Navigation card that links to previously created content. This component is ideal if you wanted to create a list of content that's displayed as Navigation cards.
This article shows you how to add a Navigation reference card to the Manual list component.
Below is an example of a Navigation reference card
Within the Manual list component under List items, click on the dropdown and select Navigation reference card as shown below.
There are only 2 fields.
Reference - This is an autocomplete text field that will suggest Page content type titles as you type.
Theme - Select whether you want light or dark theme settings.
The screenshot below shows what happens as you type the first character into the Reference text field. The site will automatically search page titles containing the typed character.
The Manual list component allows you to manually add content that's displayed in a variety of different 'cards'.
This section shows you how to add a Manual list.
Below is a Manual list of Promo cards (with images).
And here is a Manual list of Navigation cards (without images).
Step 1: Go to the page you'd like to add the Manual List to (or create a new page) and in the Content tab, Components section, select Manual List from the dropdown list.
Step 2: Select the list type (card) you'd like from the Content tab.
Step 3: Fill out the information that correspond to your card choice. Please see the other sections of this manual for more information on specific cards.
Step 4: Fill in the Fields tab information as per below.
Title - Type in the title for your Manual List.
Content - Type in any introductory content you'd like displayed between the title and the cards.
Link above - Add a link above if desired (e.g. Show all events).
Link below - Add in a link below if desired (e.g. See more events)
Step 5: Fill in the information for the Appearance tab as per below.
Theme - Select light or dark theme.
Vertical spacing - Add vertical spacing to the component if you'd like. Choices are none, top, bottom or both)
Background - Check the box to apply a default background colour from your colour palette.
Columns - Select how many columns to display (e.g. the two screenshots at the top of this page have three columns).
The Navigation card provides a visual way to highlight content and helps users navigate to content. The card includes a title, image, summary text and link.
This article shows you how to add a Navigation card to the Manual list component.
Below you can see three navigation cards (one per row).
Within the Manual list component under List items, click on the dropdown and select Navigation card as shown below.
The available fields are shown and numbered below.
Title - Set the card title.
Image - Upload an image (or select one from your media library).
Show image as icon - Check this box to resize the image to an icon size (40x40px).
Summary - Enter your custom text.
Link URL - The URL entered here will be the final destination if the end user clicks anywhere in the navigation card.
Size - Set the image size (the options are None, Small or Large).
Theme - Select the light or dark theme.
Note: If you set the image to show as an Icon (point #3), then this will override the image size set at point #6.
The Promo card is a good way to highlight content and take users to that content. It consists of a title, image, date, summary text, and a link.
This article shows you how to add a Promo card component to a Manual list component.
Below is a promo card.
And this is what four promo cards in a row looks like.
Within the Manual list component under List items, click on the dropdown and select Promo card as shown below.
In the screenshot below you can see the Promo card fields, which are numbered and highlighted.
Title - Add the card title.
Subtitle - Add a subtitled if desired.
Image - Add an image to the card if desired.
Summary - Add summary text to the card.
Link - Type in the link for the page the card will link to.
Topics - Add a topic if desired. If you'd like to add more than one topic, click on Add another item.
Theme - Choose the light or dark theme.
You can configure the number of Promo cards in one row by adjusting the “Column count” under the “Appearance“ tab as shown below.
The Subject reference card provides a way to help users get to information on a specific subject. It consists of a title, image and link that are automatically populated based on the page the subject card links to.
This section shows you how to add a Subject reference card to a Manual list component.
Below you can see a Subject reference card.
Step 1: Within the Manual list component under List items, click on the dropdown and select Subject reference card.
Step 2: Fill in the fields as per below.
Reference - Start typing the page title of the content you want to link to and then select the correct content/page.
Theme - Select light or dark theme.
The Promo reference card is a Promo card that links to previously created content. This component is ideal if you wanted to create a list of content that's displayed as Promo cards.
This article shows you how to add a Promo reference card to a Manual list component.
Below you can see an example of a Promo reference card.
Within your Manual list component under List items, click on the dropdown and select Promo reference card as shown below.
There are only 2 fields as shown below.
Reference - This is an autocomplete text field that will suggest Page content titles to link to as you type.
Theme - Select whether you want light or dark theme settings.
In the screenshot below you can see what happens as you type the first character into the Reference text field. The site automatically searches page titles of the Page content type.
The Service card lets you show one or more links. It consists of a title and links.
This article shows you how to add a Service card to a Manual list component.
Below you can see a Service card with two links. (We used two links in this example, but you can add any amount.)
Within your Manual list component under List items, click on the dropdown and select Service card as shown below.
The available fields are shown and numbered below.
Title - Add the title
Links/URL - You can add internal and external URLs. For internal URLs, this field autocompletes when you start typing the title of the internal content/page.
Links/Link text - Add the Link text. This is the hyperlink text that will be displayed to end users.
Add another item - Clicking on “Add another item” will dynamically add URL and Link text fields. You can add as many as you like.
Set the theme to light or dark.
The Publication card highlights a publication on your site. It consists of a title, image, summary and document link.
This article shows you how to add a Publication card to a Manual list component.
Below you can see one Publication card.
Within your Manual list component under List items, click on the dropdown and select Publication card as shown below.
The available fields are shown and numbered below.
Title - Add title text
Image - Upload an image or select one from your library.
Summary - Add summary text.
Document - Upload media or select one from your library.
Theme - Choose the light or dark theme.
The Subject card provides a way to help users get to information on a specific subject. It consists of a title, image and link.
This article shows you how to add a Subject card to a Manual list component.
Below you can see two Subject cards set to display as one per row (one with an image, one without).
You can also have up to four Subject cards in one 'row'. Below you can see four Subject cards (with images) set up to display four per row.
Finally, you can also set up the cards with a block colour background, like the example below.
Within your Manual list component under List items, click on the dropdown and select Subject card as shown below.
The available fields are shown and numbered below.
Image - Upload an image (or select one from your media library).
Title - Enter the card title.
Link - Enter a URL. The URL entered here will be the final destination if the end user clicks anywhere in the Subject card. If you start typing internal content (page title) then a list of options will display for you. Select the desired page/content.
Theme - Select light or dark theme.
The Fields and Appearance tabs apply to the Manual List.
The Next Step component allows you to add a visual element that represents the next step for a user (or a series of steps).
This section shows you how to add the Next Step component.
Below is an example of the Next Step component.
Step 1: Go to the page you'd like to add the Next Step to (or create a new page) and in the Content tab, Components section, select Next Step from the dropdown list.
Step 2: Fill in the fields as per below.
Title - Add in the Next Step's title
Content - Add in any additional content you'd like to include.
Link - Start typing the content page you'd like to link to and select the matching page/content.
Theme - Choose the light or dark theme.
Vertical spacing - Add vertical spacing on the component (above, below or above AND below).
This page is in development.
This page is in development.
The Map component allows you to display a map.
This section shows you how to add a Map.
Below is a Map.
Step 1: Go to the page you'd like to add the Map to (or create a new page) and in the Content tab, Components section, select Map from the dropdown list.
Step 2: Fill in the fields as per below.
Embed URL - Add the URL of the map in this field.
Address - Add the physical address in this field.
View link - Add the URL of the external map.
Theme - Choose the light or dark theme.
Vertical spacing - Add vertical spacing on the component (above, below or above AND below).
Background - Check this box to apply a background colour.
The Webform component allows you to add a webform into a content page - from a basic contact us form to a more comprehensive webform.
This section shows you how to add a Webform component into page.
Below you can see an example webform.
Step 1: Go to the page you'd like to add the Webform to (or create a new page) and in the Content tab, Components section, select Webform from the dropdown list.
Step 2: Fill in the fields as per below.
Webform - Select a webform from the dropdown (note, before adding webforms to a page you'll need to create the webform).
Webform settings - choose the status (Open, Closed or Scheduled) and add default submission data if desired.
Theme - Select light or dark theme.
Vertical spacing - Add vertical spacing on the component (above, below or above AND below).
Background - Check this box to apply a background colour.
The Slider component allows your users to move through multiple panels that include images and content.
This section shows you how to add the Slider component.
Below is an example of the Slider component.
Step 1: Go to the page you'd like to add the Slider to (or create a new page) and in the Content tab, Components section, select Slider from the dropdown list.
Step 2: Fill in the fields as per below.
Title - Type in the title for your 'slideshow'.
Slides - Use the dropdown here to add slides. You can either add slides manually (Add Slider slide) or using automation (Add Slider reference slide).
Background - Check this box to apply a background colour.
Theme - Choose the light or dark theme.
Vertical spacing - Add vertical spacing on the component (above, below or above AND below).
Step 3: Fill in the information for each slide - see below.
Title - Add the title for this slide.
Image - Add an image for the slide.
Image position - Choose left or right for the image position.
Date - Add a date (if desired).
Content - Add some content about the slide.
Links - Add any links you'd like to include in the content section of the slide (these are displayed as buttons).
Add another (link) - Add extra links if desired.
Topics - Add in topics if you'd like the slider to include a topic tag.
Add another (topic) - Add extra topics if desired.
Theme - Select the light or dark theme.
Add Slider slide - Add more slides.
You can also add 'Slider reference slides'. These slides retrieve the content automatically from an existing page.
Below is a screenshot of the fields for the Slider reference slides.
Reference - Start typing the page title of the page you'd like to reference, and then select the page/content.
Link text - Add in link text, if desired.
Image position - Select right or left for the image. Note: This brings in the xxx image from the page you're linking to.
Theme - Select light or dark theme.
Site-section taxonomy is generally used to group content by site section.
The idea is to allow grouping of pages that belonging to a common area. For example, your website might include multiple sub-sites with different styles and/or branding within the sub-site.
You can add a new site section by clicking on List terms or Add terms from the dropdown menu to the right of 'Site sections'.
If you select List terms, you'll then need to click Add term.
Add in the name, relationships (parent terms) and menu item weight and then click Save.
You can edit existing site sections by firstly selecting List terms from the dropdown menu next to 'Site sections'.
Next, click on Edit next to the Site section you'd like to edit.
Rename the Site section and update the relationships and weights, and then click Save.
Vocabularies allow you to categorise and group content. For example, you may have a topic tag of "Environment" and you can tag content with that topic. You can then display content based on specific tags.
You can navigate to the vocabularies/taxonmy section of CivicTheme/Drupal by going to Structure>Taxonomy.
CivicTheme comes with two sets of taxonomy terms/vocabularies out-of-the-box: Site sections and Topics.
Topics are generally used to group information by topic or subject. Out-of-the-box, CivicTheme comes with several topics set up - you just need to edit them to the topics you'd like.
Below you can see three news card showing three different topics - Scholarships, International students, and Research.
You can add a new topic by clicking on List terms or Add terms from the dropdown menu to the right of 'Topics'.
If you select List terms, you'll then need to click Add term.
Add in the name and a description (if desired) and then click Save.
Note: You also have the option of adding in parent terms under the 'Relations' area and choosing how you want Topics to be treated in the site map.
You can edit existing topics by firstly selecting List terms from the dropdown menu next to 'Topics'.
Next, click on Edit next to the Topic you'd like to edit.
Rename the topic and then click Save.
Create new users and assign roles
CivicTheme comes with 4 roles out-of-the-box. They are:
Administrator - Administrators have access to ALL administration areas. This role should only be given to the lead technical role and senior developers in your team.
Site administrator - Site administrators have access to some of the administration areas.
Content approver - Content approvers review and approve content so it can then be published on the website.
Content author - Content authors are the main users responsible for creating and editing content.
Go to /admin/people
.
Select Add user
.
Fill out the relevant fields
Note on the password field: you need to add a password to create a new user account, the new user will be directed to reset their password when they first login.
Check the box to send the user an email notification. The link they receive will lead them to a password update form.
Save.
Go to /admin/people
.
Select the person you want to assign or unassign a role to/from.
Open the Actions dropdown.
Select 'Apply to selected items'.