Skip to content

Commit c345220

Browse files
Toolbar: Added info about setting a theme being required for external toolbars.
1 parent 18b9a8e commit c345220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/toolbar.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<h3>Default header features</h3>
2323

24-
<p>The header <placeholder name="name"/> inherits its theme swatch from the page by default but you can easily set the theme swatch color by adding the <code>data-theme</code> attribute to the header. For example, <code>data-theme="b"</code>.</p>
24+
<p>The header <placeholder name="name"/> inherits its theme swatch from the page by default but you can easily set the theme swatch color by adding the <code>data-theme</code> attribute to the header. For example, <code>data-theme="b"</code>. When you use external headers you must set a theme, because there is no parent page from which it can inherit a theme.</p>
2525

2626
<h3>Adding buttons</h3>
2727

@@ -125,7 +125,7 @@ If you're doing this programmatically, set this option inside the mobileinit eve
125125
</code></pre>
126126
<iframe src="/resources/toolbar/example8.html" style="width:100%;height:90px;border:0px"></iframe>
127127

128-
<p>The footer <placeholder name="name"/> inherits its theme swatch from the <a href="/page/">page</a> by default but you can easily set the theme swatch color by adding the <code>data-theme</code> attribute to the header. For example, <code>data-theme="b"</code>.</p>
128+
<p>The footer <placeholder name="name"/> inherits its theme swatch from the <a href="/page/">page</a> by default but you can easily set the theme swatch color by adding the <code>data-theme</code> attribute to the header. For example, <code>data-theme="b"</code>. When you use external headers you must set a theme, because there is no parent page from which it can inherit a theme.</p>
129129

130130
<p>The page footer is very similar to the header in terms of options and configuration. The primary difference is that the footer is designed to be less structured than the header to allow more flexibility, so the framework doesn't automatically reserve slots for buttons to the left or right as it does in headers.</p>
131131
<p>Since footers do not have the same prescriptive markup conventions as headers, we recommend using layout grids or writing custom styles to achieve the design you want.</p>

0 commit comments

Comments
 (0)