• I’m usually pretty good at implementing changes to css, but this new theme is giving me trouble (they seem to have it coded different than usual).

    What I’m trying to do is allow for a 300px width (Medium Rectangle) adsense ad to display in the sidebar (the sidebar is set to 220 at the moment, and I can figure out how to adjust that one). The content area is coded oddly though, and I can’t figure out how to resize it properly.

    I want to do so for all my pages, some pages use a different template. If you guys could give me some code to drop into the custom css box or tell me what I need to change I’d appreciate it.

    Here’s a link to the site: http://digitalwriter.net/

    Thanks in advance.

    Ryan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Line 108 of your style.css file. You’ll have to shrink your #main.col-left div (line 106)

    i can’t see anything odd with the css of the theme;
    main styles to change are #sidebar and #main.left-col, with a lot af lesser styles containing width parameters (if you work your way through style.css, and check/change all widths in the region of about 400px to 700px, you should be fine).

    these are based on keeping the overall width, increasing the sidebar by 100px, decreasing the content by 100px:
    http://pastebin.com/8naLk4mN

    I want to do so for all my pages, some pages use a different template.

    please post more details – it is not clear which pages are using a different template; are you talking abeout static pages in the wordpress sense, or web pages?

    Thread Starter ryandanks

    (@ryandanks)

    The homepage and the Blog page seem to have different templates (the blog page has a left sidebar that seems to be automatic). I don’t know if the left sidebar is included in the homepage and just lying dormant or if they built them separately.

    If I read right, you suggest increasing all ~400px regions up to 700px? Wouldn’t that have the opposite effect (increasing the content area)?

    @paulruescher: I’ll check line 106 when I get home. Thanks very much!

    Thread Starter ryandanks

    (@ryandanks)

    I changed #main.left-col from 720 to 420 (just to see what difference it made. It did nothing to the homepage and I’m not sure what happened to the blog page, but the content area got ported below the left sidebar.

    I changed it back to normal. Still not sure what to do though.

    @alchymyth: Do I just copy and paste the code you wrote into the custom css box in my theme?

    If I read right, you suggest increasing all ~400px regions up to 700px?

    probably badly expressed on my side – i meant that you could look for width values in the stylesheet in the region of 400 to 700px (plus/minus a bit) and then consider to edit/change these styles to reflect the wider sidebar.
    there are quite a few styles to be changed to see the result (tip: if you have problems to see what you are changing and how far the divs are stretching, add a temporary background color to the styles in question)

    yes – try to paste the suggested styles into custom.css

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adjusting Content Area’ is closed to new replies.