Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    38

    Default Change default overall page width

    The default width for the main cpanel x3 page is around 800 px wide. I would like to change this to be a higher value, where do I go to do this? This is for the default skin.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Unless you clone the theme (via WHM) any changes you make will be wiped out next cPanel upgrade.

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    38

    Default

    What about swapping out the images and such? Are those overwritten too?

    If I clone the skin, make the hard coded change somewhere in the HTML to change the width, when cpanel updates, my skin may break something, right? Or at least require me to reskin it in order for the skin to work with the update.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by BobbyDouglas View Post
    The default width for the main cpanel x3 page is around 800 px wide. I would like to change this to be a higher value, where do I go to do this? This is for the default skin.
    In the branding editor, change the CSS and for #cpanel set width:1024px; or whatever you desire. Note, the default width is 763 pixels, not 800 - you may wish to keep that in mind when performing your resizing.

    This eliminates the need for a separate theme. Also, if you want this in all your styles, just do the same thing to the other styles.

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    38

    Default

    The CSS file for the default skin only has the background set.

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by BobbyDouglas View Post
    The CSS file for the default skin only has the background set.
    Correct, what you're going to do is override the default CSS that skin comes with. Here's what my CSS looks like for the style I am using (after editing in my CSS code):

    Code:
    body { background-color: #E6E6E6 }
    
    #cpanel {
    width: 1000px;
    }
    If you are using Firefox and find yourself wanting to know more about the CSS of cPanel themes, there's a nifty add-on called Firebug you may wish to use. With that, you can click on "Inspect" and you can mouse over any portion of the interface and the add-on will tell you what CSS is applied to what you are looking at.
    Last edited by cPanelDavidG; 01-07-2008 at 01:08 PM. Reason: Clarified that the code was post-edit, not pre-edit.

  7. #7
    Member
    Join Date
    Jan 2005
    Posts
    38

    Default

    Thanks! I assumed that since it wasn't set in that cpanel skin (while it is set in others), that it was an option I couldn't change. I was, however, able to change it.


Similar Threads & Tags
Similar threads

  1. WHM - Change right frame default page
    By BobbyDouglas in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 08-20-2009, 10:29 AM
  2. Change WHM default home page [moved]
    By zylstra in forum New User Questions
    Replies: 3
    Last Post: 12-26-2006, 07:24 AM
  3. How can I change the default Cpanel landing page ?
    By PointWebDesign in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 10-17-2006, 07:12 AM
  4. Change the default server page on host
    By redlorry919 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-19-2005, 05:06 AM
  5. How to change default Page
    By pedant in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-17-2004, 05:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube