- This topic has 10 replies, 4 voices, and was last updated 4 years ago by
Tom.
-
AuthorPosts
-
February 6, 2017 at 5:52 am #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?
GeneratePress 1.3.44GP Premium 1.2.94February 6, 2017 at 6:46 am #275040Leo
StaffCustomer SupportHi 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 6, 2017 at 10:45 am #275177Tom
Lead DeveloperLead DeveloperIt 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/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 6, 2017 at 11:27 am #275200Ingrid
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!
February 6, 2017 at 8:11 pm #275341Tom
Lead DeveloperLead DeveloperTook 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 7, 2017 at 7:27 am #275533Hans
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-
February 7, 2017 at 11:18 am #275622Tom
Lead DeveloperLead DeveloperThe Menu Icons plugin isn’t working for you on multi site?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 7, 2017 at 11:34 am #275630Hans
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”.
February 7, 2017 at 12:02 pm #275647Tom
Lead DeveloperLead DeveloperHuh, weird. GP has a *-site class that’s conflicting with that one class.
Add this CSS:
.dashicons-admin-multisite:before { content: "\f541" !important; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 7, 2017 at 11:27 pm #275840Hans
Hi Tom,
great, it works for me. I do not close as I do not know whether it works for Ingrid, too.
February 8, 2017 at 12:17 am #275844Tom
Lead DeveloperLead DeveloperThanks 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.