WordPress.org

Ready to get started?Download WordPress

Forums

Edit Content Margins in 2011 Theme Clone (6 posts)

  1. thealchemist
    Member
    Posted 2 years ago #

    so I am customizing a clone of 2011 (rather than a child theme I'm editing a complete copy) here: http://www.phenomenaldesign.com and I can not seem to find where to edit the top margin/padding. I have removed the page title and now need to move the content up appropriately.

    Any clues as to where to look in css.?

    Thanks!

  2. akabin
    Member
    Posted 2 years ago #

    Line 74 in style.css, change it to

    #page {
        margin: 0px auto;
        max-width: 1000px;
    }
  3. thealchemist
    Member
    Posted 2 years ago #

    hmmm ... thanks, but didn't change a thing. I still have a lot of space above the content.
    Can I use a negative number?

  4. thealchemist
    Member
    Posted 2 years ago #

    Anyone have ideas on where else the space above content can be reduced?

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    the gap seems to be made by these styles:

    #main {
    	clear: both;
    	padding: 1.625em 0 0;
    }
    .entry-content,
    .entry-summary {
    	padding: 1.625em 0 0;
    }
    .singular.page .hentry {
    	padding: 3.5em 0 0;
    }

    if you need to keep the changes to the one page, use the css classes output by 'body_class()' to make the styles more specific.

    btw:
    as long as the theme is called Twenty Eleven (folder path /wp-content/themes/twentyeleven), it will be overwritten with the next upgrade of the wordpress version.
    consider creating a child theme.

  6. Eijgendaal
    Member
    Posted 2 years ago #

    Hi I also want to adjust the margins, but I cant't figure out how to do that. I want to have my content text in full width. What to do? What do I have to change to above styles? Thanks.

    Maud
    http://www.shoelala.nl

Topic Closed

This topic has been closed to new replies.

About this Topic