• Resolved codyheit

    (@codyheit)


    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:

    https://cfn.org.au/website/

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter codyheit

    (@codyheit)

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

    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

    Thread Starter codyheit

    (@codyheit)

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twenty Eleven – Width of text on pages’ is closed to new replies.