[Resolved] FontAwesome icons disappearing in sections after save

Home Forums Support [Resolved] FontAwesome icons disappearing in sections after save

Home Forums Support FontAwesome icons disappearing in sections after save

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #200479
    Sander

    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?

    #200572
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #200586
    Sander

    It worked! Thanks Tom!

    #200587
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

    #213660
    Steven

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

    #213669
    Tom
    Lead Developer
    Lead Developer

    Glad it helped! πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.