Support » Themes and Templates » How do I change width of sidebar and main content area?

  • Hello there,

    I cannot seem to find where to change the sidebar width of a particular theme I have loaded. I’ve gone through every single file in this theme, including the style.css and see absolutely nothing related to sidebar in terms of width, height or margin. There’s no div.sidebar section as some have stated to look for.

    Where else can this be? I’ve checked every file.

    Thanks,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The Sidebar width may be the leftover width from other divs.

    i.e.

    |                     Total Area                          |
    |        Main Area                     |     Sidebar      |

    Main area and total area may be defined and side bar is the difference and would not need defining.

    Thread Starter pookieguy

    (@pookieguy)

    Thanks for the quick reply!

    Yes, but the problem is I can’t really find anything at all related to width, height or margin in general. Everything I find is related to other things like the search bar and the top navigation bar. Nothing else.

    Is there something else I’m overlooking? Also, it would definitely be in the .css file right?

    Thanks,

    99.9% it is in the css. do you have a link? Firebug add-on to firefox is really good at CSS issues, Or I use a paid app CSSEdit on OSX.

    Thread Starter pookieguy

    (@pookieguy)

    That’s what I thought, as I have edited this just fine on other sites.

    Yes, you can find that theme activated here…

    http://wwww.androidphoneportal.com

    Thanks,

    Thread Starter pookieguy

    (@pookieguy)

    I want the overall page to stay the same but what I want to do is make the sidebar narrow and the content/post section a bit longer.

    Can’t seem to do it with this theme.

    It is from the leftover of the main content
    <td width=”630″ valign=”top” align=”left”>

    Your overall page size is set by the style.css
    #box2 {
    margin: 0 auto;
    width: 990px;
    }

    That theme has more than enough divs to do it with CSS and not need that table in there. IMO it is not a good theme for a beginner to work with.

    Thread Starter pookieguy

    (@pookieguy)

    But where are you seeing this 630 width?

    Yes, I’ve played with the “box” settings but that width is for the overall page as you stated.

    I don’t see this <td> with the 630 you are referring to…??

    Thanks!!

    Secondly the encoded code in that themes footer.php

    <?php $_F=__FILE__;$_X='Pz48P3BocCA1Y2g(Plus Hundreds more letters that I cropped)Ow=='));?>

    Is something that I would personally avoid when choosing a theme.

    That table code with the 630 is in line 86 of your header.php file.

    Thread Starter pookieguy

    (@pookieguy)

    Ahh, the header file…ok.

    Well, changing that didn’t do anything but just move the sidebar to the left. I’m trying to make the sidebar more narrow.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How do I change width of sidebar and main content area?’ is closed to new replies.