WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twenty Eleven - Width of text on pages (5 posts)

  1. codyheit
    Member
    Posted 2 years ago #

    Hi

    Using a child theme of Twenty Eleven but having issues with text in the body of the site not using the full width:

    You can see an example of what happens here when text is added:

    http://cfn.org.au/website/

    What do we need to change so that the text is shown as wide as our header 1000px?

  2. cgrray
    Member
    Posted 2 years ago #

  3. codyheit
    Member
    Posted 2 years ago #

    Thanks for the help but changing the max width increases the size of the whole website and not just the width of the text area:

    /* =Structure
    ----------------------------------------------- */

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

  4. Digital Raindrops
    Member
    Posted 2 years ago #

    You could add a class for the post with the slider, as you need to change the content width for the slider page.

    At the moment the body class is the home class, and the content class is.

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

    Try

    .home .singular .entry-content{
        width: 100%;
    }

    Or:

    .home .entry-content{
        width: 100%;
    }

    Or the post class is post-4

    .post-4 .entry-content{
        width: 100%;
    }

    HTH

    David

  5. codyheit
    Member
    Posted 2 years ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.