WordPress.org

Ready to get started?Download WordPress

Forums

Twentyeleven - i want to override given width (5 posts)

  1. tbullet
    Member
    Posted 2 years ago #

    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!

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

    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.

  3. tbullet
    Member
    Posted 2 years ago #

    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%;}

  4. tbullet
    Member
    Posted 2 years ago #

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

  5. tbullet
    Member
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic