• Hello,
    i have the following problem:
    I want to change the size of the header image from 1000×200(?)
    to another value (lets say 1331×331 for example).
    I already changed the Entry in the functions.php to the numbers above, but that doesn’t seem to be enough. The image has the same size as before. The only difference is that when I inspect the properties of the image i see no longer “1000×200” but “1331×331 (scaled to 1000×200)”

    Where can i chance this setting? I don’t want another scaling.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You’d have to change the width of the entire site and any affected elements on any of the templates — not that simple to do unless you are experienced in html, CSS and php.

    Thread Starter Welp126

    (@welp126)

    Oh well, i am experienced in html, CSS and PHP.
    So the question would be “what are the affected elements”? ??

    [no bumping please]

    Look for any “width” CSS code that is around the width of the page. The rest will be trial and error testing…

    Make VERY VERY sure that you are using a child theme and also make a copy of any files before you change them…

    As WPyogi said create a child theme, or download mine, this has an empty functions.php, with an after_theme_setup code block:

    Example for a width of 1140, here is the complete solution.
    Then in the child themes style.css

    /* =Make our whole website wider
    -------------------------------- */
    #page {
    	margin: 0 auto;
    	max-width: 1140px;
    }
    .featured-posts,
    #ie7 article.intro {
    	max-width: 1140px;
    }

    Then if you do not have a functions.php in the child theme, create one, here is the complete code for a child themes functions.php
    https://pastebin.com/LCEpYzyB

    This changes the width and height, and removes the default headers, as these are the wrong size now!

    HTH

    David

    I see a lot of space at the top of my site title. How can I reduce it?
    My site is [link moderated – please start your own topic.]

    [mod: your link will get moderated from all further postings until you start your own topic to ask your question]

    Again, start your own thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change Twenty Eleven Header Size’ is closed to new replies.