Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17615

    When I view a “page” created through the admin UI, the right-hand margin is about 80px larger than a page that’s showing blog posts. I can’t for the life of me find where that’s being set. Chrome inspect shows the div sizes to be 510px vs 600px, but doesn’t tell me where it’s getting that setting from.

    Can someone point me in the right direction? I want to make the right-hand margin for “pages” the same (larger) as the blog post listings.

    Thanks,

    Mike

    #96158

    Hey Mike,

    Can you point me to a specific example? I tried finding what you are referring to but I wasn’t able to pick out the exact same element. So maybe a screenshot pointing to the margin or a link with a description to the areas on the pages.

    Regards,

    Devin

    #96159

    Sure!

    Link 1 (demo site): http://www.kriesi.at/themes/sentence/

    Image 1: Narrow margin: https://dl.dropbox.com/u/8892836/narrow-margin.png

    Link 2 (demo site): http://www.kriesi.at/themes/sentence/template-files/sample-page/

    Image 2: Wide margin: https://dl.dropbox.com/u/8892836/wide-margin.PNG

    I prefer the narrower right margin and would like to see it across all of my site’s pages, but every “wordpress page” I make defaults to the wider margin and I can’t figure out why.

    Thanks for your help!

    #96160

    I see exactly what you mean now :)

    The page loop uses a unit smaller grid for its content so you’ll just need to change that. In your theme files open includes>loop-page.php and search for:

    <div class="six units entry-content">

    change the “six” to “seven” and save the file. That will change the grid size and should get you the spacing you are after.

    Regards,

    Devin

    #96161

    That worked perfectly!! Thanks for your help!!

    #96162

    Glad we could help :)

    Regards,

    Devin

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

The topic ‘Change the Margin on Pages’ is closed to new replies.