Code Nation
Candidate (English)
Candidate (English)
  • Your Code Nation Theme
  • Getting started
    • Creating a new site
    • Activating your new theme
    • Editing your theme
  • Launching 🚀
    • Connect a Broadcaster
    • Connect your social media icons
    • Connect Google Analytics
    • SEO and sharing
    • Add a favicon
    • Add a logo
    • Add a featured image
    • Add footer text
    • Order your navbar
    • Configure your page and site settings
  • General Features
    • Control Panel Shortcuts
    • Creating new pages
    • Tags
    • Donation Express Payments
  • Candidate Theme Features
    • Background Video Section
    • Background Quote Section
    • Collapsed Accordions
    • Covering donation fees
    • Custom Field Inputs
    • Donation Panel
    • Embedding External Tools/Plugins
    • Events Map
    • Featured Blog Post
    • Feature Video
    • Image Gallery
    • Latest News Section
    • Nav Buttons
    • PDF Gallery (Resources page)
    • Event Program Layout
    • Share Bar
    • Show Subpages
    • Show Profile Page
    • Signup Bar
    • SMS Tool
    • Two Column Content
    • Video Gallery
    • Tag Appendix
  • Tips
    • Image sizes and dimensions
  • Feedback
    • Candidate Docs Feedback Form
Powered by GitBook
On this page

Was this helpful?

  1. Getting started

Editing your theme

Learn how to customise your Code Nation theme and it's components by making changes to the template code.

PreviousActivating your new themeNextConnect a Broadcaster

Last updated 1 year ago

Was this helpful?

Before you can begin editing the template code, you need to create a clone of the theme.

This guide is for people and organizations who would like to edit the theme or alter some elements. If you try to access the edit screen for the main version of the theme shared with your nation you will see a permission denied error. This is because the theme is administrated centrally and admins can only edit themes that live in their nation.

Cloning your new theme:

  1. Follow the steps in our guide using your existing site or a brand new site.

    • If your existing site is already published, we highly recommend opting for a brand new site to avoid any potential issues with the live site's appearance.

  2. Navigate to Websites > Your Site in NationBuilders sidebar

  1. Using the tab menu click Theme then select New Custom Theme button.

  1. You will now be redirected to a small form where you can name your cloned theme and select the option to clone from the current theme.

    • Note: It may take several minutes for the theme cloning process to complete.

  2. Now that the cloning process is complete you can navigate to the "Current custom theme" tab to edit the theme files and make any changes you wish to apply to your version.

Please note that we are unable to provide support for custom versions of our themes.

Activating your new theme
Finding your site
Adding a New Custom Theme
Adding a New Custom Theme
Finding your site