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.

WHM Theme Customisation lost

Discussion in 'User Experience' started by itmonitor, Feb 9, 2016.

  1. itmonitor

    itmonitor Active Member

    Joined:
    Apr 10, 2014
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi!

    I recently hired a developer to customise the WHM theme. This included not only changing the WHM dashboard logo, but also the WHM background colours, hyperlink colours and other. After the WHM upgrade to v.54, the customisation was lost. I am looking for information on how to avoid my customised theme to be overwritten during each WHM update process. Any advice is welcome!
     
  2. itmonitor

    itmonitor Active Member

    Joined:
    Apr 10, 2014
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Many thanks cPanelMichael :)
     
  3. itmonitor

    itmonitor Active Member

    Joined:
    Apr 10, 2014
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    The developer checked all the points at
    How to Customize the WHM User Interface with CSS - cPanel Knowledge Base - cPanel Documentation
    however, customisation still is being overwritten during WHM upgrades. Here are his comments "our issue is main.css and menu.css does not load in our WHM theme, so we can't modify it. Also i can't understand HOW the theme Changes i did could be removed as we cloned the X theme to a name "CompanyTheme", which should not be touched at any WHM update as far as i know. However if we get main.css and menu.css to work i will apply the Changes there again and that should work."

    Please, any advice on how to solve this issue is welcome :)
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Hello,

    Does re-running /usr/local/cpanel/whostmgr/docroot/themes/x/rebuildtmpl resolve the matter?

    If not, where are you storing the css files?
     
  5. itmonitor

    itmonitor Active Member

    Joined:
    Apr 10, 2014
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi Kenneth,

    the developer executed the rebuildtmpl but the theme is not working. Menu.css and main.css do not load. The files are stored on /usr/local/cpanel/whostmgr/docroot/themes/CompanyNewTheme.

    Any advice is welcome!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page