Site logo

[Support request] FontAwesome Multisite issue

Home Forums Support [Support request] FontAwesome Multisite issue

Home Forums Support FontAwesome Multisite issue

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #275008
    Ingrid

    I have a strange problem that I hope you can help me with. I used FontAwesome icons in the names of the menu-items on my multisite environment (I am the network administrator). Recently I added a single-site administrator to the environment. When he makes an update to the menu, the FontAwesome dissapears, it only leaves <i> </i> in the title of the menu-item…

    Any idea what could be causing this?

    #275040
    Leo
    Staff
    Customer Support

    Hi Ingrid,

    Can you take a look at this post and see if it helps?
    https://generatepress.com/forums/topic/font-awesome-not-working-on-multisite/

    If not are you able to show the site?

    Let me know.

    #275177
    Tom
    Lead Developer
    Lead Developer

    It might be that his capabilities won’t allow him to add HTML to the menu items.

    Using a plugin like this might be necessary: https://en-ca.wordpress.org/plugins/menu-icons/

    #275200
    Ingrid

    Hi Tom,

    Thanks so much for your quick replies. I saw the other item, but this seems te be a different problem. As you suggest in your second reply this is user-role-capabilities-specific. When I go back in under my own login as network-administrator I can simply put the FontAwesome-code back and everything works fine.

    I try to keep the amount of plugins to a minimum and I would think this has to be possible under an administrator-single-site login. It also seems to be FontAwesome specific because the <b> </b> to show the items in bold are allowed under the other login. Is there anything you can think of to solve this?

    I duplicated one of the sites to a test-environment for this purpose and casted a video of my screen to show the problem. You can find them under; https://7.segment.nl/test/

    Thanks so much for your help and excellent support!

    #275341
    Tom
    Lead Developer
    Lead Developer

    Took a while but I found this: https://codex.wordpress.org/Roles_and_Capabilities#unfiltered_html

    Check out the third bullet point, only the super admin has the unfiltered_html capability, which is why you’re running into the issue.

    You can try giving your single site admins that capability with a plugin like this: https://en-ca.wordpress.org/plugins/user-role-editor/

    However, if you’re adding a plugin anyways, I would opt for the menu icon one.

    #275533
    Hans

    I use Icon menu and have also problems with the multisite icon. The developers of menu icons did not react on my question why multisite icon does not show up-

    #275622
    Tom
    Lead Developer
    Lead Developer

    The Menu Icons plugin isn’t working for you on multi site?

    #275630
    Hans

    No, I want to show the multisite dashicon in front of a menu item. It does not show up. I used the dashicon “store” instead on huppenbroich.de. See menu item “Unser Dorf”.

    #275647
    Tom
    Lead Developer
    Lead Developer

    Huh, weird. GP has a *-site class that’s conflicting with that one class.

    Add this CSS:

    .dashicons-admin-multisite:before {
        content: "\f541" !important;
    }
    #275840
    Hans

    Hi Tom,

    great, it works for me. I do not close as I do not know whether it works for Ingrid, too.

    #275844
    Tom
    Lead Developer
    Lead Developer

    Thanks 🙂

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