Skip to main content

How To Clone Jupiter Theme

Answered

Comments

12 comments

  • cPRex Jurassic Moderator

    Hey there!  The first step will be to copy the cPanel theme directory.  You can do that with the following command:

    cp -Rf /usr/local/cpanel/base/frontend/jupiter /usr/local/cpanel/base/frontend/YourThemeName

    Once you do that you will be able to use the WHM >> Theme Manager page and you'll see that new theme listed like this:

     

    Let me know if that helps!

     

    0
  • James Monk

    That's great thanks, I'll give that a go and report back should I encounter any issues etc.

    0
  • cPRex Jurassic Moderator

    Sure thing!

    0
  • James Monk

    Hello,

    I'm just emailing an update on this as I've now cloned the jupiter theme using the above command however whenever I activate it and then try and access webmail I get a white screen (no errors or warnings displayed). Do you know why this might be happening?

    Many thanks,

    James

    0
  • cPRex Jurassic Moderator

    I don't have a good explanation for that one - whenever there is an issue with the interface you'll want to start by checking /usr/local/cpanel/logs/error_log to see what the system is reporting.

    0
  • James Monk

    Okay thanks, will do.

    0
  • James Monk

    Hello again,

    I have a developer working on a new cPanel theme for me based on a cloned version of the existing Jupiter theme. He's successfully cloned the theme and the cloned version still allows access to webmail etc which is great but none of his customg CSS rules are showing apparently. He claims this is a limitation/issue with cPanel:

    "Regarding the second part—editing the CSS—we did create and properly reference the necessary files:

    /usr/local/cpanel/base/frontend/mycustomtheme/main.tmpl
    /usr/local/cpanel/base/frontend/mycustomtheme/css/theme-overrides.css

    However, due to recent updates and tighter security restrictions introduced in newer cPanel versions, the Jupiter theme (and any cloned variants) no longer reliably supports direct loading of custom CSS. This behavior is documented here:
    Can the Jupiter theme be customized? – cPanel Support"

    Is he correct?

    Many thanks,

    James

    0
  • cPRex Jurassic Moderator

    It looks like he's referencing this link:

    https://support.cpanel.net/hc/en-us/articles/4406300683031-Can-the-Jupiter-theme-be-customized

    but that page doesn't talk about CSS.  Can you find the specific link he's referencing?

    0
  • James Monk

    I can ask him, is his statement correct that you can't modify a cloned version of the Jupiter theme?

    0
  • cPRex Jurassic Moderator

    No, that's the whole point in cloning the theme in the first place so you can make modifications.

    0
  • James Monk

    Thanks for confirming that, it's all sorted now.

    0
  • cPRex Jurassic Moderator

    Glad to hear it!

    0

Please sign in to leave a comment.