# Ionicons breaking on Ionic beta.13 \[Fixed\]

**URL:** <https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640>\
**Category:** ionic-v1\
**Created:** [December 5, 2014, 6:31am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640 "2014-12-05T06:31:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![cahara](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cahara](https://forum.ionicframework.com/u/cahara)\
**Post date:** [December 5, 2014, 6:31am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/1 "2014-12-05T06:31:04Z")

</div>

Just noticed updated my ionic project to beta.13.  
For some reason none of the IOS or Android Ionicons are working.  
Was there a change in how Ionicons is loaded in beta.13?

Edit: Seems it that beta.13 shipped with the old version of Ionicons v1.5.2. It’s just been updated to 2.0.0 within the last day. Fixed it by replacing all references to Ionicons in the ionic.css file with the new version at [https://github.com/driftyco/ionicons/blob/master/css/ionicons.css](https://github.com/driftyco/ionicons/blob/master/css/ionicons.css) and replacing the lib/fonts folder with the fonts folder at [https://github.com/driftyco/ionicons/tree/master/fonts](https://github.com/driftyco/ionicons/tree/master/fonts)

---

<div class="post-metadata">

**Author:** ![VicM](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@VicM](https://forum.ionicframework.com/u/VicM)\
**Post date:** [December 6, 2014, 11:03pm UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/2 "2014-12-06T23:03:11Z")

</div>

Thanks for the info. I tried to do the same but I am getting no icons at all. Could you please paste the resulting css file?

EDIT: I need to recreate my css file from the sass file, and also be aware that the ionicons names for ios have changed, they changed from -ios7- to -ios-, so I also need to renamed the icons to match the newer version names, that is why I was having no icons at all.

---

<div class="post-metadata">

**Author:** ![tanujd](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@tanujd](https://forum.ionicframework.com/u/tanujd)\
**Post date:** [December 9, 2014, 6:37am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/3 "2014-12-09T06:37:25Z")

</div>

> [@VicM](#):
>
> recreate my css file from the sass file

Im very new to sass so not sure how to go about recreating or recompiling the css from sass. It would be great if you can tell me the steps for doing this.

---

<div class="post-metadata">

**Author:** ![VicM](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@VicM](https://forum.ionicframework.com/u/VicM)\
**Post date:** [December 9, 2014, 8:01am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/4 "2014-12-09T08:01:12Z")

</div>

Just run “ionic serve” command inside your project root folder, this will compile sass among other useful things it does. Check: [http://ionicframework.com/docs/guide/testing.html](http://ionicframework.com/docs/guide/testing.html)

---

<div class="post-metadata">

**Author:** ![tanujd](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@tanujd](https://forum.ionicframework.com/u/tanujd)\
**Post date:** [December 9, 2014, 9:12am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/5 "2014-12-09T09:12:19Z")

</div>

One of the first things I did was run `ionic serve` but i get a box where some of the new icons should be, which is why i was wondering if there is some step I missed.

---

<div class="post-metadata">

**Author:** ![VicM](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@VicM](https://forum.ionicframework.com/u/VicM)\
**Post date:** [December 9, 2014, 9:28am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/6 "2014-12-09T09:28:36Z")

</div>

Be sure to replace the ionicons related files inside the lib/ionic folder,  
Replace the “ionic/fonts” folder with the newer ionicons version.  
Also Replace the files inside “ionic/scss/ionicons”

be sure to backup your prokect just in case anything goes wrong.

---

<div class="post-metadata">

**Author:** ![tanujd](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@tanujd](https://forum.ionicframework.com/u/tanujd)\
**Post date:** [December 9, 2014, 9:37am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/7 "2014-12-09T09:37:49Z")

</div>

First step was to backup 😉

I have already replaced the fonts and the scss files in their respective places (the same places you mentioned)  
However other than those there is nothing else related to ionicons in the `lib/ionic` folder.

All the old icons still work fine and the new FourSquare icon shows up, but nothing else shows up (e.g. the Snapchat icon is just a box)

---

<div class="post-metadata">

**Author:** ![VicM](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@VicM](https://forum.ionicframework.com/u/VicM)\
**Post date:** [December 9, 2014, 9:53am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/8 "2014-12-09T09:53:06Z")

</div>

mmm will need to check in more detail, I got the boxy icons because of the reasons I already explained.

I guess the boxy icons are because of that fonts are not present in the css or svg files, does the snapchat icon is present in the scss and svg?  
Also check in the resulting app css if the snapchat icon classes are there.  
Your resulting css should point to the 2.0.0 version in the font face classes

besides that I am out of possible solutions.

---

<div class="post-metadata">

**Author:** ![tanujd](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@tanujd](https://forum.ionicframework.com/u/tanujd)\
**Post date:** [December 14, 2014, 7:44am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/9 "2014-12-14T07:44:50Z")

</div>

So i went about restoring the backup of my project, then cloaning the ionicons repository locally. After which I replaced the scss and font files from this clone into my project.  
Then I ran `ionic serve` again and still did not get the fonts to work. Getting blanks or boxes.

I guess ill wait for the next beta release which hopefully should have the new font files.

---

<div class="post-metadata">

**Author:** ![tanujd](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@tanujd](https://forum.ionicframework.com/u/tanujd)\
**Post date:** [December 16, 2014, 11:42am UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/10 "2014-12-16T11:42:15Z")

</div>

I tried it again. I copied the font files and the scss files into my ionic project. Ran `ionic serve` but the scss does not seem to re-compile and give me the icons. I get blanks or boxes everywhere.

Any advice on how to run a specific scss rebuild?

---

<div class="post-metadata">

**Author:** ![tanujd](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@tanujd](https://forum.ionicframework.com/u/tanujd)\
**Post date:** [December 16, 2014, 1:31pm UTC](https://forum.ionicframework.com/t/ionicons-breaking-on-ionic-beta-13-fixed/13640/11 "2014-12-16T13:31:01Z")

</div>

There is another topic about the same question here: [Beta 14 Ionicons using v.1.5?](http://forum.ionicframework.com/t/beta-14-ionicons-using-v-1-5/14217/6?u=tanujd)

The extra step mentioned is to execute `gulp` in order to re-create the scss files
