There are optional HTML classes that will change some of the default heading, paragraph, table, and unordered list styling in Berkeley Web Builder. You will need to make edits directly in the HTML source to use these classes.
List of HTML classes
The following classes can be used with heading text, paragraph text, tables, and lists:
bwb-heading-mini: "small caps" heading display (all heading levels)bwb-colorband-*: "color band" heading display with Berkeley Brand colors (heading 2 only)bwb-list-brand-*: dot list display in Berkeley Brand colors (unordered lists only)bwb-list-horizontal-dot-*: horizontal dot list display in Berkeley Brand colors (unordered lists only)bwb-list-horizontal-line-*: horizontal line list display in Berkeley Brand colors (unordered lists only)bwb-bolderandbwb-boldest: increased font weights for thestrongtag on paragraph textbwb-para-lead: "lead" paragraph display with larger font sizebwb-para-alert-infoandbwb-para-alert-warning: "alert" displays for paragraph text with Berkeley Brand colorsbwb-quote-*: Berkeley Brand colors forblockquotetag
See below for examples of these classes and instructions on how to use.
Heading classes
These optional heading classes provide some variations on the default styles of heading text. The bwb-heading-mini class can be used on all levels of heading text (headings 2 through 6), and the bwb-colorband-* classes can only be used on heading 2 text.
How to add a heading class:
Add the heading text via the WYSIWYG toolbar, and then select the HTML source button. Locate the heading text and add one of the classes in the following format, preceded by class=:
<h3 class="bwb-heading-mini">Heading 3 text with "small caps" (mini) class<h3>
<h2 class="bwb-colorband-berkeley-blue">Heading 2 text with Berkeley Blue color band class<h2>
The following Berkeley Brand colors are available for the color band heading classes:
bwb-colorband-berkeley-bluebwb-colorband-blue-mediumbwb-colorband-rose-darkbwb-colorband-purple-darkbwb-colorband-green-darkbwb-colorband-purple-dark
Examples: heading classes
See Figures 1 and 2 for examples of the bwb-heading-mini and bwb-colorband-berkeley-blue heading classes on a Basic page, and see Figure 3 for an example of the HTML source of a Basic page using a color band heading class.
Paragraph classes
These optional paragraph classes provide some variations on the default styles of paragraph text. The bwb-para-lead class provides a larger font size for paragraph text, which you are encouraged to use for paragraph text that should not be a heading for accessibility best practices but should still look larger and more prominent than standard paragraph text. The bwb-para-alert-info class displays a block of Blue Light background color and the bwb-para-alert-warning class displays a block of Gold Light background color order to provide an alert-style notice on paragraph text.
How to add a paragraph class:
Add the paragraph via the WYSIWYG toolbar, and then select the HTML source button. Locate the paragraph text and add one of the classes in the following format, preceded by class=:
<p class="bwb-para-lead">Paragraph text with the "lead" style class</p>
<p class="bwb-para-alert-info">Paragraph text with the "info" alert style class</p>
<p class="bwb-para-alert-warning">Paragraph text with the "warning" alert style class</p>
Examples: paragraph classes
See Figure 4 for an example of the bwb-para-lead paragraph class on a Basic page, and see Figures 5 and 6 for examples of the bwb-para-alert-info and bwb-para-alert-warning paragraph classes on a Basic page. See Figure 7 for an example of the HTML source of a Basic page using the lead paragraph class.
Unordered list classes
These optional list classes provide some variations on the default styles of unordered lists. The bwb-list-brand-* class provides larger dots for the list bullets. The bwb-list-horizontal-dot-* class displays a horizontal list with larger dots for the list bullets and the bwb-list-horizontal-line-* class displays a horizontal list with rounded vertical lines for the list bullets. All of the optional list classes use the Gray Medium, Blue Medium, and California Gold from the Berkeley Brand set of colors.
How to add an unordered list class:
Add the unordered list via the WYSIWYG toolbar, and then select the HTML source button. Locate the list and add one of the classes in the following format, preceded by class=:
<ul class="bwb-list-brand-california-gold">
<ul class="bwb-list-horizontal-dot">
<ul class="bwb-list-horizontal-line-blue-medium">
The following Berkeley Brand colors are available as follows for the list heading classes:
bwb-list-brand(Gray Medium)bwb-list-brand-california-goldbwb-list-brand-blue-mediumbwb-list-horizontal-dot(Gray Medium)bwb-list-horizontal-dot-california-goldbwb-list-horizontal-dot-blue-mediumbwb-list-horizontal-line(Gray Medium)bwb-list-horizontal-line-california-goldbwb-list-horizontal-line-blue-medium
Examples: unordered list classes
See Figure 8 for an example of the bwb-list-brand-california-gold unordered list class, Figure 9 for an example of the bwb-list-horizontal-dot unordered list class, and Figure 10 for an example of the bwb-list-horizontal-line-blue-medium unordered list class. See Figure 11 for an example of the HTML source of a Basic page using an unordered list class.
Table classes
More coming soon