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!

Edit cPanel & WHM Login Page

Discussion in 'Workarounds and Optimization' started by Sametto Chan, Sep 22, 2017.

  1. Samet Chan

    Samet Chan Well-Known Member

    Jun 24, 2016
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello, everyone!

    I am will teach to you how to for edit cPanel and WHM login panel own CSS file and also improve to CSS Formatter.

    0 - Please first install notepad++ Official visit this

    Because notepad++ can help you to view feel better easy to could be found!

    Windows notepad is not easy far so.

    If you want to know about that windows notepad vs notepad++ different? Visit this learn more:

    1 - Edit to where a file from cPanel/WHM - Login panel for CSS improve to Formatter better.


    Copy to all this CSS to paste visit this - This will help you to formatter improvements CSS. You won't be the mess again. Copy & paste to file again.

    2 - If you want an edit for the background image or background color from cPanel or WHM.
    WHM - Login panel
    body.whm {
        background-color: #293a4a;
        color: #fff
    cPanel - Login panel
    body.cp {
        background-color: #f0eff0
    You can see that two CSS could be found! Thanks to formatter fixed. May you want change to a background image? There,

    WHM: background-color: #293a4a;
    cP: background-color: #f0eff0
        background-image: url("testimages/YourOwnImage.jpg");
        background-attachment: fixed;
        background-size: 100% 100%;
        color: black
        background-image: url("testimages/YourOwnImage.jpg");
        background-attachment: fixed;
        background-size: 100% 100%;
        color: black
    1. You may change to image supported GIF or JPG ONLY! Do Not use PNG is not a wallpaper. PNG is an icon or favorite, normal picture.
    2. Also, you must use HTTPS only! If you used HTTP for URL image, Hacker will against your WHM insecure of connection the HTTPS is not verified.

    I have uploaded file attach from my WHM and cPanel own style has changed background image are really great! What I made that :)


    Keep to your knowledge! :)

    I will update this thread later.
    #1 Samet Chan, Sep 22, 2017
    Last edited: Sep 22, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Sametto Chan likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice