From: Chris Rebert Date: Wed, 16 Apr 2014 03:03:44 +0000 (-0700) Subject: fix #13340 by documenting @icon-font-path & @icon-font-name more X-Git-Tag: v3.2.0~254^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aec366c5910675067c02f5cf79a1846721707515;p=thirdparty%2Fbootstrap.git fix #13340 by documenting @icon-font-path & @icon-font-name more --- diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index 0f932f45c7..18f202372f 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -25,6 +25,11 @@

Only for use on empty elements

Icon classes should only be used on elements that contain no text content and have no child elements.

+
+

Changing the icon font location

+

By default, Bootstrap assumes that the icon font files will be located in the ../fonts/ directory relative to your deployed CSS. For example, if your CSS file is at http://example.com/foobar/css/bootstrap.css, then your font files should be at http://example.com/foobar/fonts/glyphicons-halflings-regular.woff, etc.

+

If you are placing the icon font files elsewhere or changing their filenames, you will need to adjust the @icon-font-path and/or @icon-font-name Less variables accordingly.

+
{% highlight html %} {% endhighlight %}