From: Chris Rebert Date: Fri, 25 Apr 2014 19:02:16 +0000 (-0700) Subject: Document that @import-ing Bootstrap can break the icon font path X-Git-Tag: v3.2.0~220^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f01c1abbe9a5c5aa3dc94da424ff99d60c45a7;p=thirdparty%2Fbootstrap.git Document that @import-ing Bootstrap can break the icon font path Addresses part of #13429. --- diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index 18f202372f..f93d0ec6a2 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -30,6 +30,10 @@

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.

+
+

@importing Bootstrap via Less may require adjusting the icon font location

+

If you @import Bootstrap's Less source into your own Less file, you may need to adjust the @icon-font-path Less variable due to the way that relative paths in url(...)s work in Less.

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