WordPress.org

Support

Support » Themes and Templates » Twentyeleven – i want to override given width

Twentyeleven – i want to override given width

  • Hello,
    I am new to WordPress using twenty eleven at http://terratechenvironmental.com
    I want the header and content about 1000px wide aligning.
    I have tried changing the default layout to the one column theme, but that makes the header and content width small. Now using default content on left layout. Also, using a plugin called easycolumns.

    Using firebug, if I change the width in the following code to 100%, I get the effect I want, but doesn’t work when I put it in my child theme:

    singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {    margin-bottom: 0;    margin-left: auto;    margin-right: auto;    margin-top: 0;    width: 68.9%;}

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • you seem to have two erroneous backticks in your style.css of the child theme:

    twice after these two identical blocks:

    .one-column #page {
    max-width: 1000px;
    min-width: 1000px;
    }

    <-backtick is directly after that } bracket.

    Thank you! I have removed one of the blocks and updated. And I tried changing the width in the following code from 1000px to 100% in my child theme, but it still won’t override the parent code:

    singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title { margin-bottom: 0; margin-left: auto; margin-right: auto; margin-top: 0; width: 68.9%;}

    Wow! Thank you! It worked. Sorry. I overlooked the backtick (i did not know what it was!) Thank you!

    Sorry! It did not completely fix the problem. It made it wider, but not as wide as the header. I tried making the header the 848px wide but that did not work. If I force the width of entry-content, everything is pushed to the right and off center. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twentyeleven – i want to override given width’ is closed to new replies.
Skip to toolbar