-
SentiaParticipant
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.
Daniel TaraKeymasterIn style.css you can change the
max-width
value of#wrapper
from1140px
to940 px
.SentiaParticipantDaniel, 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 π
SentiaParticipantDaniel, 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?
Daniel TaraKeymasterYou have declared custom styles in Theme Options which override the ones in style.css
In theme options the width is still 1140px
SentiaParticipantThanks, 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.
Tagged: custom page, page width, post template
You must be logged in to reply to this topic.