From b35840e48d18c49fdb916e04516d29b534d64875 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 9 Jun 2014 21:00:27 -0700 Subject: simpler and updated docs copy for icon font file paths --- docs/_includes/components/glyphicons.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'docs/_includes') diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index 301a542b6..f7e09f3a2 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -27,12 +27,13 @@

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.

-
-
-

@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 the relative paths in our url(...)s work.

+

Bootstrap assumes icon font files will be located in the ../fonts/ directory. Moving or renaming those font files means updating the CSS in one of three ways:

+ +

Use whatever option best suites your specific development setup.

{% highlight html %} -- cgit v1.2.3 From 24a9b34adde1ae2cff9238853fb3207cfdb57209 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 9 Jun 2014 21:08:24 -0700 Subject: typo --- docs/_includes/components/glyphicons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index f7e09f3a2..9a39b12c9 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -33,7 +33,7 @@
  • Utilize the relative URLs option provided by the Less compiler.
  • Change the url() paths in the compiled CSS.
  • -

    Use whatever option best suites your specific development setup.

    +

    Use whatever option best suits your specific development setup.

    {% highlight html %} -- cgit v1.2.3 From d2061e8aeb7517d08603fb40cb1a225ebb405576 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 9 Jun 2014 21:26:57 -0700 Subject: relative --- docs/_includes/components/glyphicons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index 9a39b12c9..e87434137 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -27,7 +27,7 @@

    Changing the icon font location

    -

    Bootstrap assumes icon font files will be located in the ../fonts/ directory. Moving or renaming those font files means updating the CSS in one of three ways:

    +

    Bootstrap assumes icon font files will be located in the ../fonts/ directory, relative to the compiled CSS files. Moving or renaming those font files means updating the CSS in one of three ways:

    • Change the @icon-font-path and/or @icon-font-name variables in the source Less files.
    • Utilize the relative URLs option provided by the Less compiler.
    • -- cgit v1.2.3