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.

How to Edit CSS in cPanel 11?

Discussion in 'User Experience' started by zacsg, Sep 14, 2007.

  1. zacsg

    zacsg Registered

    Joined:
    Aug 6, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    It's good to know that "You can even edit CSS to modify font colors, font sizes, table borders, and more."

    But how?

    The closest thing I can find is, live edit a language file (i choose x3 theme) - branding editor - edit this style - edit stylesheet -

    Now the stylesheet editor is on screen, with only one line:

    Without any other reference, how could I know what to edit/add in the CSS file? Where to find the original stylesheet that I can modify?

    Appreciate any help. Thanks.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you look at the source code via View -> Source in your web browser, you will see that elements on the page belong to various CSS classes. You simply need to enter in CSS code that modifies these classes to achieve the appearance you desire. Here's an example of some code (somewhat useless for practical application, but it conveys the basic concept):

    Code:
    body { background-color: #E6E6E6; }
    
    .row-odd {
    color: #FF0000;
    }
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page