diff options
| author | Chris Rebert <[email protected]> | 2014-04-15 20:05:46 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-04-15 20:05:46 -0700 |
| commit | 1254c322fa77edbd87a33ed30dc5904bdbb91a51 (patch) | |
| tree | 2e65b17f13788a011e8515bc90bd04958f1b95bf /docs | |
| parent | 2127eb563fafdad10d004d33533a44ad023440e5 (diff) | |
| parent | aec366c5910675067c02f5cf79a1846721707515 (diff) | |
| download | bootstrap-1254c322fa77edbd87a33ed30dc5904bdbb91a51.tar.xz bootstrap-1254c322fa77edbd87a33ed30dc5904bdbb91a51.zip | |
Merge pull request #13353 from twbs/fix-13340
Document @icon-font-path & @icon-font-name more
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/components/glyphicons.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index 0f932f45c..18f202372 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -25,6 +25,11 @@ <h4>Only for use on empty elements</h4> <p>Icon classes should only be used on elements that contain no text content and have no child elements.</p> </div> + <div class="bs-callout bs-callout-info"> + <h4>Changing the icon font location</h4> + <p>By default, Bootstrap assumes that the icon font files will be located in the <code>../fonts/</code> directory relative to your deployed CSS. For example, if your CSS file is at <code>http://example.com/foobar/css/bootstrap.css</code>, then your font files should be at <code>http://example.com/foobar/fonts/glyphicons-halflings-regular.woff</code>, etc.</p> + <p>If you are placing the icon font files elsewhere or changing their filenames, you will need to adjust the <code>@icon-font-path</code> and/or <code>@icon-font-name</code> Less variables accordingly.</p> + </div> {% highlight html %} <span class="glyphicon glyphicon-search"></span> {% endhighlight %} |
