Styling Annotations

In this topic, you will learn how to style annotations.

Brightcove Interactivity uses an account-level, Interactivity CSS file to style all annotations in projects and templates. You can use your own CSS file to style annotations.

Follow these steps to access the account-level, Interactivity CSS file.

  1. Login to Video Cloud Studio.
  2. Open the Interactivity module.
  3. Click the settings icon () at the top of the page.
    Interactivity CSS settings

Uploading a CSS file

To upload a new CSS file, click Upload Custom CSS and then browse and select a CSS file to use.

Downloading the default CSS file

To download the default CSS file, click Download Default CSS. After downloading the CSS, you can edit it as needed and then upload it.

Restoring the default CSS file

To restore the default CSS file, click Restore.

Creating custom annotation styles

You can create custom annotation styles by uploading and editing a custom CSS file (see below). Styling can also be adjusted per annotation using the annotation editor.

Modifying the custom style

You can further style annotations (for example, adding the same font or font style you use on your web site) by following these steps.

  1. Upload a custom CSS file or edit the default CSS (see Configuring Interactivity Settings) to style annotations as desired.
  2. Click Download Default CSS to download the custom CSS file.
  3. Edit the CSS file using a text editor. You can inspect elements using tools provided by your web browser to see which selectors and classes to modify.
  4. Save your CSS file.
  5. Click Upload Custom CSS and then browse and select the new CSS file to use.

Creating a custom annotation CSS file from scratch

You can also create a custom annotation CSS file from scratch. Follow these steps:

  1. Click Download Default CSS to download the default CSS file.
  2. Make any needed changes/additions.
  3. Click Upload Custom CSS and then browse and select the new CSS file to use.

To restore the default CSS file, click Restore.