Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Customize cPanel paper lantern theme?

Discussion in 'User Experience' started by indharajith, Oct 6, 2017.

  1. indharajith

    indharajith Member

    Joined:
    Mar 12, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Can anyone suggest how to customize Cpanel paper lantern theme and icon.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,802
    Likes Received:
    1,714
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. indharajith

    indharajith Member

    Joined:
    Mar 12, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Thank you sir
     
  4. Jr Sarath

    Jr Sarath Member

    Joined:
    Oct 13, 2017
    Messages:
    21
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    I'm building a custom icon set for paper_lantren theme, here is a screenshot,
     

    Attached Files:

  5. indharajith

    indharajith Member

    Joined:
    Mar 12, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello jr Sarath
    Can you share how to change icons set
     
  6. Jr Sarath

    Jr Sarath Member

    Joined:
    Oct 13, 2017
    Messages:
    21
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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
    • 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 :)
     
    indharajith likes this.
  7. Jr Sarath

    Jr Sarath Member

    Joined:
    Oct 13, 2017
    Messages:
    21
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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
     
  8. AdilTibari

    AdilTibari Registered

    Joined:
    Apr 5, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    morocco
    cPanel Access Level:
    Website Owner
    Hi,
    Jr Sarath

    can you please send me the theme :) ?
     
Loading...

Share This Page