Viewing 5 replies - 1 through 5 (of 5 total)
  • Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    Thread Starter cwolff

    (@cwolff)

    Thanks Esmi,

    I am working with a child theme of 2011, sorry I should have stated this.

    However, my child theme is auto scaling and I would like this not to happen.

    ~Chris

    I would venture a guess that if you changed the max-width here to just width

    #page {
    	margin: 2em auto;
    	max-width: 1000px;
    }

    nothing would scale…

    Thread Starter cwolff

    (@cwolff)

    Thanks Rev. Voodoo, exactly what I needed.

    Thanks,
    ~Chris

    Matthew Slyman

    (@matthew_of_cambridge)

    Alternative ways that don’t involve messing about with the master theme:

    Place inline CSS in your image tags:
    <img src="..." style="min-width:495px;" />

    If you want scrolling overflows, place your image inside a <div>:
    <div style="width:100%;overflow-x:scroll;"><img ...></div>

    If you want your image to scale vertically and maintain aspect ratio, consider using “%” measurements for height.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: Twenty Eleven] How to keep 2011 theme from auto scaling?’ is closed to new replies.