Skip to main content

Customize cPanel paper lantern theme?

Comments

7 comments

  • cPanelMichael
    Hello, The following document should help you to get started: Guide to cPanel Interface Customization - cPanel Style Development - Software Development Kit - cPanel Documentation Thank you.
    0
  • indharajith
    Thank you sir
    0
  • Jr Sarath
    I'm building a custom icon set for paper_lantren theme, here is a screenshot,
    0
  • indharajith
    Hello jr Sarath Can you share how to change icons set
    0
  • Jr Sarath
    Hi, if you are looking how to make custom icons then download default paper_lantren theme https://whmurl:2087/scripts/download_style/default.basic after downloading the archive (.tar.gz) unzip it you can see there are two folder and 2 files [LIST]
  • Icons
  • Sprites
  • styles.css
  • styles.min.css navigate to Icons and there you can find all cPanel icons, basically, icons are in .svg and .png format use Illustrator to edit .svg icons and export those .svg icons too .png in dimension 48x48 then compress your theme folder as .tar.gz Use 7-zip to compress as tar.gz, P.S : you cant compress as .tar.gz directly first compress your theme folder as .tar first then compress that .tar archive to .tar.gz Upload your theme_package.tar.gz via WHM > cPanel > customization > themes Login to your SSH /usr/local/cpanel/bin/sprite_generator --theme paper_lantern --style themename replace theme name with your original theme name LET ME KNOW WHAT YOU MADE I WILL LOVE TO SEE :)
  • 0
  • Jr Sarath
    here is some bonus for you 7zip command line version and commands to make .tar.gz directly 7-zip.org/a/7z1701-extra.7z place it where your theme folder is located and save this code snippet as make.bat 7za.exe a theme_name.tar theme_folder 7za.exe a theme_name.tar.gz theme_name.tar replace theme_name with your theme name and theme folder with your theme folder Hope this help you to reduce your efforts
    0
  • AdilTibari
    Hi, Jr Sarath can you please send me the theme :) ?
    0

Please sign in to leave a comment.