Custom Style Icons Not Displayed Properly
I (and a colleague) were able to make a new theme for my cPanel following guides but I can't make icons of non-cPanel plugins show up. Icons for Wordpress Manager, Cloudflare, Softaculous, WHMSonic completely disappear when I switch over to the new theme but show up perfectly fine on Paper Lantern.
Is there a hook of some sort that's required to display non-cPanel plugin icons on custom themes ?
Secondly what are the possibilities of just just running a script to pick up the icons from Paper Lantern since that works perfectly?
Any explanation, URL or guide is appreciated.
Thanks
-
Hi @Oluwatosin Can you try running the following and let me know if they begin to show up? /usr/local/cpanel/bin/rebuild_sprites0 -
# /usr/local/cpanel/bin/rebuild_sprites Searching for themes that support the cpanel plugins system................Done Rebuild Complete
I ran the command but the issue persists. Non-cpanel icons are not showing yet.0 -
Hi @Oluwatosin How about if you run with the following flags? /usr/local/cpanel/bin/sprite_generator --theme paper_lantern --style mystyle
What's present in your style directory's icons subdirectory?0 -
All paper_lantern icons are present in my theme directory 0 -
Hi @Oluwatosin Based on the documentation here: Guide to cPanel Interface Customization - Custom Icons and Logos - Developer Documentation - cPanel Documentation you'll only want to put the icons you want to replace there: [QUOTE] Add custom icons To replace the default cPanel icons with your own icons, perform the following steps: - Guide to cPanel Interface Customization - Appkeys documentation.
0
Please sign in to leave a comment.
Comments
5 comments