Brightspot CMS User Guide

Uploading a theme


Themes provide your site’s layout, color scheme, and behaviors. You can install your own themes, and versions of individual themes, into Brightspot. This topic describes how to upload a new theme.

Tip
You can create a new theme by copying an existing theme and then modifying it. For details, see Copying a theme.

To upload a theme:

  1. Click menu > Admin > Themes > New Theme. The New Theme widget appears.
  2. Using the following table as a reference, complete the fields as needed.
  3. Click Save.
Field Description
Name Enter a name of this theme. This name is not visible to site visitors.
Field Prefix (Optional) Enter a value to be pre-pended onto the theme file name.
Bundle Select one of the following:
  • New File—Allows you to upload a new theme bundle.
    Note
    The standard version of Brightspot comes with a theme bundle you can find at brightspot-go/frontend/styleguide/build/libs/frontend-styleguide.jar.
  • Existing—Allows you to use an existing theme bundle.
  • If selecting New File, click Choose to search for the theme bundle in your local storage.
  • If selecting Existing, click search to locate an existing theme bundle.
Style fields
Built-In Include files from a built-in style package, if one exists.
Custom Upload Upload a .zip file with custom CSS, JavaScript, and _config.json in the root directory, using the following format:
{
  "name": "My Style",
  "cssPath": "/path/to/Main.css",
  "jsPath": "/path/to/Main.js"
}
Built-In CSS Select one of the following:
  • Always Include—The built-in CSS is always included.
  • Include If Missing from Upload—The built-in CSS is included if there is no CSS in the Custom Upload.
  • Ignore—The built-in CSS is ignored.
Built-in JS Select one of the following:
  • Always Include—The built-in JavaScript is always included.
  • Include If Missing from Upload—The built-in JavaScript is included if there is no Javascript in the Custom Upload.
  • Ignore—The built-in JavaScript is ignored.
Previous Topic
Theme overview
Next Topic
Style packages
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Modules
Landing pages
Everything you need to manage and administer content within Brightspot CMS, including plug-and-play integrations.

Dashboards
Authoring content
Workflows
Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform, including integrations requiring developer support to use.

Field types
Content modeling
Rich-text elements
Images