• Hello,

    I am working on formatting a site (www.talkwest.com), but I can’t figure out how to stretch the blog’s width to fit a given browser/screen resolution. Essentially, all I want is the text area (the actual blog entries) to stretch.

    Does anyone know CSS well enough to help me do this?

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • I’d recommend locating a theme out there (that you like…) which already does this. It’s much simpler to customize a non-fixed layout than to try and recode a fixed theme to be a non-fixed one. It’s also safer to your sanity.

    Theme resources:

    http://codex.wordpress.org/Themes
    http://codex.wordpress.org/Using_Themes#Get_New_Themes

    .body, .post, .text, .entry { width:auto; }
    Should work aslong as your not talking about the graphic elements.

    The default theme you’re using won’t allow that, as far as I’m aware. You may have to look at other themes which are “fluid” instead of fixed.

    Have a look at:

    http://themes.wordpress.net/theme-viewer.php

    Thread Starter bakemm

    (@bakemm)

    UPDATE:

    I think I have decided not to use the “fluid” format.

    However, I would like to expand the width of the blog area, which is something that I tried, but was unable to do. Can someone point me to the area where I can edit the width? at the site (talkwest.com), I am talking about expanding the “white” area along with the text in that area.

    Thank you for the help. It is appreciated!

    If you’re using the “default” theme, all of those “white” areas are graphics. It’s a royal PITA to change the “default” theme in most ways. Take a look at some of the many many excellent fixed-width themes out there – links as in a couple of earlier posts.

    Thread Starter bakemm

    (@bakemm)

    I’d still like to give it a shot (I really like the simplicity and design of the default theme)… just looking for anyone that knows how to do it.

    Thanks everyone for your help

    Thread Starter bakemm

    (@bakemm)

    Bump one more time.

    I am able to stretch the text, but I can’t get the white background to follow. Any help would be appreciated. Thanks!

    talkwest.com

    You can’t get it to stretch, because it’s an image. You would need to add some more white space into the image.

    http://www.talkwest.com/wp-content/themes/default/images/kubrickbg.jpg

    The answer was given above: that white area is an image:
    http://www.talkwest.com/wp-content/themes/default/images/kubrickbg.jpg
    You have to modify first that image, then make the necessary changes in the CSS file etc.
    You may try searching here for modifying kubrick width and stuff like that.

    Thread Starter bakemm

    (@bakemm)

    Alright. I think I understand. Thank you guys for your help. Sorry it took me so long to grasp it.

    Thanks!

    Thread Starter bakemm

    (@bakemm)

    Hey guys,

    So, I managed to stretch the site using photoshop, but I have run into a couple of problems.

    In IE, the site looks almost perfect, except the header is a little bit short (a couple of pixels) on the right side and the footer is a couple of pixels short on each side. This doesn’t make sense because the photoshop canvases were all the exact same size.

    Also, in Firefox and Mozilla, the header/banner is very jumbled.

    Any ideas?
    thanks!

    talkwest.com

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘CSS question: Stretch blog to fit browser’ is closed to new replies.