To add CSS classes to a dashboard, navigate to the Custom Style menu, and enter the name(s) of classes in the text box below CSS classes for this dashboard.
To add custom CSS classes to a specific visual, see Adding CSS Classes to Visuals.