[Resolved] Font-Awesome code is stripped when saved in widget

Home Forums Support [Resolved] Font-Awesome code is stripped when saved in widget

Home Forums Support Font-Awesome code is stripped when saved in widget

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1398693
    Tim

    Video explanation:
    https://www.loom.com/share/80e4b26441da4d8d80f14924a3d57f6e

    for example, when pasting this code into the html widget:
    <span style=”color: rgba(29,69,122,0.71)”><i class=”fab fa-youtube fa-lg fa-fw”></i></span>

    the font-awesome icon does not display because the html is stripped to:
    <span style=”color: rgba(29,69,122,0.71)”><i class=”fab fa-youtube fa-lg fa-fw”></i></span>

    yet it works in the footer!

    Thanks in advance – love your product.

    #1399160
    Leo
    Staff
    Customer Support

    Hi there,

    I doubt this is a theme issue as HTML widgets are all handled by WordPress.

    How are you loading FontAwesome?

    #1399295
    Tim

    There’s a setting in Beaver Builder for icons:
    /wp-admin/options-general.php?page=fl-builder-settings#icons

    BB icon settings

    #1399297
    Tim
    #1399306
    Leo
    Staff
    Customer Support

    So is BB loaded on the page that’s having the issue?

    What happens if you just copy and paste this exactly?
    <i class="fab fa-youtube"></i>

    Noticed some wrong quotation mark in your original topic.

    #1399331
    Tim

    Yes, all post types are setup for BB.
    /wp-admin/options-general.php?page=fl-builder-settings#post-types

    copying your sample yields same result.

    Font-awesome icons are supposed to display in footer too, but not displaying on any post page, so seems FA is not loading correctly on posts even though the BB settings tell it to.

    Should I ask BB support?

    #1399338
    Leo
    Staff
    Customer Support

    That might be a good idea.

    You could also try activating this plugin and see if it makes a difference:
    https://wordpress.org/plugins/font-awesome/

    #1399350
    Tim

    Yes, I suppose I could just disable it in BB settings and use that plugin.

    Thanks

    #1399354
    Leo
    Staff
    Customer Support

    No problem 🙂

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