Site logo

Archived topic

FontAwesome icons disappearing in sections after save

5 replies · Started by Sander on June 9, 2016

Viewing posts 1–6 of 6

Hi,

I try to add some icons in a page section. In the preview the icon shows, after the first save it also shows. When I save again the icon has disappeared.

Code I added:

<i class="fa fa-camera-retro fa-3x"></i>

After save:

 

Do you have a solution?

The WordPress editor strips empty HTML tags.

The solution is to add an HTML comment in between them:

<i class="fa fa-camera-retro fa-3x"><!-- icon --></i>

That should fix it :)

It worked! Thanks Tom!

You're welcome :)

Thanks a million. This was irking me. Love this template in general.

Glad it helped! :)

This archived topic is closed to new replies.