• eustace

    (@eustace)


    Hi

    I’m very new at this… I would like to set the page width of the layout. I’m using the default theme.

    I tried changing a few things on the style.css file but with no luck. I can set the header and footer’s width but the body ain’t changing.

    please assist. i think this is very easy… lol

    Thanks
    Eustace

Viewing 5 replies - 1 through 5 (of 5 total)
  • jarvis88

    (@jarvis88)

    How many columns does your theme have? If you got 2 for eg, you would need to change them proportionally. In css, check for body{ width:960px;} which is the whole page width, then, check for something like #sideleft {width:630px; etc} and #sideright {width:320px;}.

    Change the right and left sizes so they add up to the total body width.

    Hope this helps!

    Thread Starter eustace

    (@eustace)

    I tried that with no luck.

    I have 2 columns:

    #page {
    background-color: white;
    border: 1px solid #959596;
    text-align: left;
    width: 805px;
    }

    .narrowcolumn {
    float: left;
    padding: 0 0 20px 45px;
    margin: 0px 0 0;
    width: 405px;
    }

    .widecolumn {
    padding: 10px 0 20px 0;
    margin: 5px 0 0 150px;
    width: 400px;
    }

    I noticed in the html(view source) that the widcolumn isn’t used. I tried making the one bigger but it’s not working.

    I doubt it’s the columns. Because its a border that’s staying one width.

    here’s my page : https://www.standaloud.co.za/wordpress/wordpress/

    thanks

    jarvis88

    (@jarvis88)

    Your url is showing 404… I’d like to see it… Work beter that way! And I see you a South African boytjie! haha, so am I!! lol!

    I only noticed now that in your first post you mentioned you using the default theme! If I’m not wrong (please correct if I am) the default theme doesn’t use exact width’s or height’s but instead it uses margins! So even inserting a different width would be pointless as the margins would just overide it!!

    I don’t like designing from the default theme, as I feel there is faaaar to much css that can confuse you! lol!

    I find it much easier browsing for a free theme that has the kind of layout that I’m looking for, and then altering it from there! Just before you decide on a theme, go through the css and html and make sure every thing is labeled properly so that you don’t waste time. Usually it is, but just check 4 incase! This is a huge time saver for me!

    Hope all goes well!!

    Thread Starter eustace

    (@eustace)

    Hi

    Sorry there… I changed the directory.
    It will be found @ https://www.standaloud.co.za/stories/

    I think you’re right with the margin thing. I tried changing all the widths i could find and nothing happened really. I’ll see if I can change some margins…

    I didn’t think of searching for another theme but i’ll try and find one to suite me better. I think The simple default one isn’t too bad though.lol

    Im proudly South African hey!! I’m in Cape Town ??

    Thanks for the help. much appreciated!

    jarvis88

    (@jarvis88)

    sweet! Like what you did with the default theme!! Well all the best!! And like you, am proudly South African!! Just in Jo’burg! lol!

    Much pleasures! lol!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘setting the page width of default theme’ is closed to new replies.