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.

SOLVED WebHost Manager - Custom Right Frame UI CSS

Discussion in 'User Experience' started by hexa-hm, Apr 21, 2017.

  1. hexa-hm

    hexa-hm Registered

    Joined:
    Apr 21, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Singapore
    cPanel Access Level:
    Root Administrator
    I am currently trying to customise my WebHost Manager theme with the following guide:

    How to Customize the WHM User Interface with CSS - cPanel Knowledge Base - cPanel Documentation

    I have successfully cloned a default theme and added both 'menu.css' and 'main.css' with my CSS customisation into the template folder. The WebHost Manager seems to be loading the 'menu.css' for the left menu frame properly and things were working as expected. However, it is not loading the 'main.css' for the right frame UI. (Confirmed with the 'inspect' feature of Chrome).

    I have also ran the './rebuildtmpl' inside the newly cloned template. The 'main.css' file is still not included in the right UI frame.

    Please advice.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,167
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like you opened a support ticket for this issue (#8395931), but later closed the ticket before we were able to respond. Would you mind re-opening the ticket so we can take a closer look?

    Thank you.
     
  3. hexa-hm

    hexa-hm Registered

    Joined:
    Apr 21, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Singapore
    cPanel Access Level:
    Root Administrator
    I've closed that ticket is because I have figured out a workaround to solve this issue.

    I put my customization in the unified_optimized.css and whm_optimized.css and created a script to run after upcp incase the customization is overwritten. The script only verifies my customization codes and add them in a new line if it's not present, hence leaving all default codes from the update there.

    Thanks for your time Micheal.
     
    cPanelMichael likes this.
Loading...

Share This Page