Spirit In Motion
Spirit In Motion

Reputation: 79

GLYPHICONS in Bootstrap 2.3.2

How can I use GLYPHICONS in Bootstrap 2.3.2? I've downloaded the Glyphicons ZIP. But I have no idea how to install it. Can someone help me, please?

Upvotes: 1

Views: 9972

Answers (1)

Khalid Hussain
Khalid Hussain

Reputation: 355

The documentation page shows you how: http://getbootstrap.com/2.3.2/base-css.html#icons

I originally did not want to answer this question but post a comment instead, but I don't have enough reputation. If this is not exactly what you were after, please elaborate your circumstance.

UPDATE

Here is a working example with the 'search' icon in a button:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <style>
        body {
            margin-top: 60px;
        }
    </style>
</head>
<body>
    <div class="container">
        <button class="btn btn-large" type="button"><i class="icon-search"></i> Search</button>
    </div>
</body>
</html>

And here is the corresponding result:

Screenshot of code

Upvotes: 5

Related Questions