Skip to main content

Custom Style Icons Not Displayed Properly

Comments

5 comments

  • cPanelLauren
    Hi @Oluwatosin Can you try running the following and let me know if they begin to show up? /usr/local/cpanel/bin/rebuild_sprites
    0
  • Oluwatosin
    # /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
  • cPanelLauren
    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
  • Oluwatosin
    All paper_lantern icons are present in my theme directory
    0
  • cPanelLauren
    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: After you apply a style that uses custom icons, run the following command, where mystyle represents the style name: /usr/local/cpanel/bin/sprite_generator --theme paper_lantern --style mystyle The /usr/local/cpanel/bin/sprite_generator utility integrates your icons into the new icon set.
    0

Please sign in to leave a comment.