Jump to content

Including FontAwesome in PrestaShop


Recommended Posts

Hello,

Today I Will Show You To Include FontAwesome That I Think You Will Be Interested In And Use.

 

Regardless of the theme, we must have the head.tpl file.

 

STEP 1:

Let's Find Our Head.tpl File On Our Server; /public_html/themes/THEME_NAME/templates/_partials/head.tpl

 

STEP 2 :

In our head.tpl file, let's add the following code to a suitable place;

<!-- Font Awesome Embed Kodu -->  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />

 

STEP 3 And The Last :

Let's Come To Our Site And CTRL + F5. For MacOS Users Command + R.

 

 

How to using FontAwesome?

Example Code : <i class="fa fa-home"></i> 

image.png.91682db77f2123c09d7ee958738d27ce.pngimage.png.18b5c040e47da3d10e4e6883bd913908.png

 

Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...