Back to Docs

Custom CSS & HTML

Updated on

Plugin: Bright Dashboard Pro
Category: Configuring Your Dashboards

For power users and agencies with specific brand guidelines, Bright Dashboard Pro provides dedicated fields to inject custom CSS and HTML directly into the dashboard environment.

1. Using Custom CSS

Each dashboard tab includes a code editor for styles. This CSS is loaded only when the dashboard is being viewed.

Example: Custom Card Branding

CSS

Common Selectors

If you want to tweak the design, here are a few classes to get you started:

Global Page Elements

CSS

Left Header (Intro)

CSS

Right Header (Support)

CSS

Call-to-Action Buttons

CSS

Dashboard Cards (The Grid)

CSS
CSS

2. Using Custom HTML

The HTML fields are perfect for adding tracking scripts, custom notification bars, or third-party widgets (like a live chat bubble or a feedback form).

  • Global HTML: Injected at the bottom of both dashboards.
  • Local HTML: Injected at the bottom of the specific dashboard.

Example: Adding a Chat Widget

If you use a tool like Tidio or another chat support tool, simply paste your script or iframe code into the HTML field.

HTML

3. The Code Editor

The settings pages include a built-in code editor that provides:

  • Syntax Highlighting: Colors your code for better readability.
  • Error Checking: Helps you spot missing brackets or typos.
  • Keyboard Support: Use `Esc` + `Tab` to navigate out of the editor if you’re using a keyboard.

Important: While custom code is powerful, poorly written CSS or HTML can break the layout of your dashboard. Always preview your changes after saving!

Next step is to configure your access & visibility controls.