Support » Themes and Templates » Changing Content Width in Sidebar Template Post Page

  • Resolved jquadra


    I am working in a twenty eleven child theme. I want to change the margins of my post page and individual post pages only without it affecting my other pages. Right now, I have the Theme Extensions plug-in that allows for my sidebar to be viewed in individual post pages as well. I want to be able to change the width of the entry to 760px and the sidebar to 100px. I managed to change the css in my style sheet so that my photos are no longer being downsized. I was posting them at 760px but they were being automatically downsized. Now if you see my blog, the photo is appearing at 760px wide but it’s overlapping into the widget sidebar. Any text also overlaps into the sidebar. I’m not sure what I need to edit to change this. I appreciate any help I can get, as I’ve editing this child theme with little experience!
    my post page:

Viewing 2 replies - 1 through 2 (of 2 total)
  • I figured out how to change the width of the sidebar using this:

    #secondary {
    	float: right;
    	margin-right: 7.6%;
    	width: 100px;

    So what I need to figure out now is how to change the content width in only the post page. I’ve been searching the forums all evening and can only find code using page id, but I can’t figure out how to find the page id to my posts page.

    I figured this out finally and realize I was making a mistake. I just needed to edit #content width in style.css. I had done this and it was changing the other pages as well. I think I was messing with the #primary width as well and since I wasn’t clearing the cache, I was seeing the primary content getting changed along with the content width. I don’t even know if this makes sense. I am pretty new to this so it took me quite a while to figure out. :/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Content Width in Sidebar Template Post Page’ is closed to new replies.