WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twenty Eleven - Width of posts (2 posts)

  1. jhauer
    Member
    Posted 2 years ago #

    I'm having a problem squeezing some of my content into the standard post options in Twenty Eleven. (I do have a child theme installed for customizing.) I'm attempting to display some wide dynamic content. On pages I can display it correctly in the 'Showcase' template. I cannot get it to display in any of the post options. I've attempted to adjust the width of the content as follows:
    Changed:

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

    TO:

    #content {
    margin: 0 14% 0 7.6%;
    width: 78.4%;
    }

    As an example, my page http://pghtix.com/tickets2/?evtid=1807418&event=Van+Halen displays correctly while similar post at http://pghtix.com/roger-waters-in-pittsburgh/ squashes the map image on the left side.

  2. jhauer
    Member
    Posted 2 years ago #

    Found the solution at: http://wordpress.org/support/topic/twenty-eleven-copy-make-content-wider-for-one-col-layout?replies=10

    .singular.page .hentry {padding:1em;}
    .singular .entry-header,
    .singular .entry-content,
    .singular footer.entry-meta,
    .singular #comments-title {
        width: 90%;
    }
    
    .singular .entry-meta .edit-link a {
        bottom: auto;
        left: 0px;
        right: auto;
        top: 30px;
    }

    Added the above code to the end of style.css. I had to change the width from 90% to 98% to fit my content. Worked like a charm!

Topic Closed

This topic has been closed to new replies.

About this Topic