Changing page width for Post Template

Viewing 6 posts - 1 through 6 (of 6 total)
  • #14578
    Sentia
    Participant

    Pinboard is the only free theme I use because it’s perfect for different kinds of sites. I have been able to change page width for No Sidebars template, but simply cannot figure out how to change the page width for posts. It just looks too wide, there’s too much white space beside the “Recent Posts” widget, and I would rather not post huge photos to take up the extra space.

    I would like for the Posts template to be 940 pixels wide. Is it possible?

    Thank you.

    #14595
    Daniel Tara
    Keymaster

    In style.css you can change the max-width value of #wrapper from 1140px to 940 px.

    #14606
    Sentia
    Participant

    Daniel, thanks, I’ll do that. (I think it’s time for me to set up a child theme.)

    Changing the #wrapper in style.css means that “full width” pages will also be restricted to 940 px, right? Or is there a way to differentiate “full width” from post?

    Such a beautiful theme, thanks again for offering it for free πŸ™‚

    #14607
    Sentia
    Participant

    Daniel, oops, didn’t seem to work. Here’s the style.css code where I changed 1140 to 940:

    #wrapper {
    position:relative;
    max-width:940px;
    margin:0 auto;
    box-shadow:0 0 18px rgba(0, 0, 0, .4);
    background:#f8f8f8;
    overflow:hidden;
    }

    The post still has a wide page: http://ahomeforabby.com/wallowa-lake-july-2010/ It should look only as wide as the Home page, which I reset the No Sidebars template to 940px and it worked great.

    Maybe I misunderstood your instruction. I cleared the cache so it should have reflected the change, but it didn’t. Can you offer any suggestions to fix this?

    #14613
    Daniel Tara
    Keymaster

    You have declared custom styles in Theme Options which override the ones in style.css

    In theme options the width is still 1140px

    #14626
    Sentia
    Participant

    Thanks, Daniel. I actually considered if that was the cause last night as I was falling asleep, one of those things that enters your mind when you aren’t actively working on the problem πŸ™‚

    Looks great now. Much appreciated! And from now on I’ll check Custom CSS to see if I’ve got anything there overriding style.css.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.