• so I am customizing a clone of 2011 (rather than a child theme I’m editing a complete copy) here: https://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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Line 74 in style.css, change it to

    #page {
        margin: 0px auto;
        max-width: 1000px;
    }

    Thread Starter thealchemist

    (@thealchemist)

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

    Thread Starter thealchemist

    (@thealchemist)

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

    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.

    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
    https://www.shoelala.nl

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Edit Content Margins in 2011 Theme Clone’ is closed to new replies.