How to get font awesome and boostrap to work

Posted by Community Admin on 03-Aug-2018 22:35

How to get font awesome and boostrap to work

All Replies

Posted by Community Admin on 20-Jul-2017 00:00

I am running Sitefinity version 7.2. 

 

All I want to do is add font awesome icons to bootsrap buttons but I can get neither to work. The code  am trying to use is from w3 here: www.w3schools.com/.../tryit.asp

 

I go into titles and properties and add the code for the <head> element. 

<meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="maxcdn.bootstrapcdn.com/.../bootstrap.min.css">
    <script src="ajax.googleapis.com/.../script>
    <script src="maxcdn.bootstrapcdn.com/.../script>
  </head>

Then I create a content block and paste the code. But only text appears.

  <p>Envelope icon on a button:
        <button type="button" class="btn btn-default btn-sm">
          <span class="glyphicon glyphicon-envelope"></span> Envelope 
        </button>
      </p>

Any ideas? 

This thread is closed