Support » Themes and Templates » Twenty Eleven Theme

  • Hi, I am a complete beginner at WordPress and am using the Twenty Eleven Theme. I want to increase the width of the single posts. How can I do that?

    Thanks in advance

Viewing 15 replies - 1 through 15 (of 18 total)
  • Twenty Ten or Twenty eleven? The latter theme hasn’t been released yet.

    Thread Starter rorinz

    (@rorinz)

    Actually I had downloaded WordPress 3.2 Beta. But using WP 3.1.3 on my Production Site. Twenty Eleven is included in the beta

    You will need to modify the css.

    In your admin panel go to:
    Appearance -> Editor

    Then on the left look for style.css

    When you click on that file look for this text:

    #content {
    margin: 0 34% 0 7.6%;
    width: 58.4%;
    }

    To make it wider, increase the width percentage and decrease the second value in the margin by a corresponding amount.

    If you have a sidebar, you will have to decrease its width by a similar amount:

    Find:

    #secondary {
    float: right;
    margin-right: 7.6%;
    width: 18.8%;
    }

    Then decrease the width by an amount that corresponds to the values you used above.

    thanks for information … I needed it too 😀
    http://www.sobr-rf.ru

    Hi, I have a margin question as well for twenty eleven theme that i hope all can help with: under the header, there is a huge gap of space before the content begins… how do i narrow that space? here is my site so you can check it out… thank you sooo much in advance!!!! http://cheaptshirtsfast.com/

    Lee Ann

    @lulubell138 – it looks like you may be able to reduce some of the space by finding .singular.page .hentry in your style.css file and changing it’s properties to

    .singular.page .hentry {
    padding: 0;
    }

    Another Twenty Eleven question: I have tried changing settings so that time and date both show on posts. I have tried a variety of configurations with the radio boxes to do that and yet it keeps defaulting to full month, day date and doesn’t include the time.
    What I am missing? Thanks.

    I have a couple of questions about Twenty Eleven too. I am pretty much a newb. I used a different theme before and had no problems (it didn’t use the loop, so it was easier for me to understand and edit).

    Anyway…

    1. The home page shows the sidebar. But when I click through to an individual post or page, the sidebar disappears. Useless! How do I get the sidebar to show up on ALL individual posts, pages, category pages, etc.?
    2. I don’t want the POSTED ON date to show, but rather the LAST UPDATED ON date. Is there a way to do that? I looked through the various template tages, but didn’t really see anything about that. Also, I didn’t see in the theme files where to even EDIT that information (again, the loop makes me feel stupid).

    I guess that’s it for now. I really appreciate any help you can give. I feel so STUPID. I miss hand coding everything, at least I knew how to do it. WP makes me feel so dumb.

    @jghicks, I think the time display has something to do with the twentyeleven_posted_on function. This theme does that strangely. One way to add the time would be to edit the content.php file and add the time after the posted_on function. It would look like this:

    <div class="entry-meta">
    <?php twentyeleven_posted_on(); ?> at <?php the_time('g:i a') ?>
    </div><!-- .entry-meta -->

    @u2smg, here is a link to an article on how to add the sidebar to your other pages. I hate that WordPress has done that in this theme.

    In your content.php file, you could try to edit the entry-meta lines to add the last modified info like this:

    <div class="entry-meta">
    <?php twentyeleven_posted_on(); ?> <p>Last modified: <?php the_modified_date(); ?></p>
    </div><!-- .entry-meta -->

    How do I get the sidebar to show up on ALL individual posts, pages, category pages, etc.?

    to get this to work in a child theme, see: http://www.transformationpowertools.com/wordpress/twenty-eleven-sidebar-on-single-posts-and-pages

    I don’t want the POSTED ON date to show, but rather the LAST UPDATED ON date.

    you can copy the function twentyeleven_posted_on() from functions.php of Twenty Eleven into functions.php of your child theme, and edit it there;
    change: Posted on
    to: Last Updated on
    and change: esc_html( get_the_date() ),
    to: esc_html( get_the_modified_date() ),

    I just posted a new plugin that address two of the most common complaints about the Twenty Eleven theme, lack of sidebars on some pages and the height of the header images:

    http://wordpress.org/extend/plugins/twenty-eleven-theme-extensions/

    All you need to do get the sidebars back is install the plugin, go to the Theme Extensions page and click a couple of checkboxes.

    It also provides a convenient place to put your CSS tweaks so you don’t have to go in and edit any of the theme files, and there are a couple of other options too. Online help is provided.

    love the plugin! just installed it and it seems to work great!

    How do I add RSS Links to Twenty Eleven?

    I have just recently installed WordPress again (I used it back in 2005!) I hadn’t gotten EVERYTHING set up the way I wanted, but I was close..I was using Theme 2010 My server uses WP version 3.1.4. Everything worked fine in 2010..I installed TwentyEleven, played with widgets for a couple of min then went to check the look .. I saw NOTHING NADA.. it’s completely blank..No server error not one letter of text or one pixel of a header image WHAT is up wit this? is anyone else experiencing this? Just as an FYI.. I switched from 2010 to 2011 because I wanted flexible width.. 2010 was doing everything right.. 2011 broke everything

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Twenty Eleven Theme’ is closed to new replies.