How do I change the width of the main area?

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
equn
Rank 0
Rank 0
Posts: 3
Joined: February 5th, 2008, 1:56 pm

How do I change the width of the main area?

Post by equn »

Hi!
I am considering switching my old CMS system to MediaWiki and doing test locally. I am having GuMax 3.3 on MediaWiki 1.10.1. My old CMS system adapt 800x600 resolution well, I hope I can narrow the main area, where should I change?
Thanks a lot. I love your templates!

equn.com
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do I change the width of the main area?

Post by Paul »

Open file gumax_template.css, find following section:

Code: Select all

#gumax-rbox
{
    width: 850px;     /* width of the web page */
    /* border-left:  3px solid #ccc; /**/
    /* border-right: 3px solid #ccc;  /**/
}
Change width to whatever you like.
User avatar
equn
Rank 0
Rank 0
Posts: 3
Joined: February 5th, 2008, 1:56 pm

Re: How do I change the width of the main area?

Post by equn »

Thank you very much. I found that if one wanna fit the skin into a 800x600 screen, he should change two places in the file.

Code: Select all

#gumax-rbox
{
    width: 760px;     /* width of the web page */
    /* border-left:  3px solid #ccc; /**/
    /* border-right: 3px solid #ccc;  /**/
}
AND

Code: Select all

body
{
    font-size: 12px;
    margin: 0; padding: 0;
    min-width: 780px;
    background: #fff;
Post Reply