The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Change size of header but keep the proportion (4 posts)

  1. ehorna
    Posted 4 years ago #


    I need some help with my header. I want to change the size from 500x105 to 500x150/200. I know I can put in "#branding img { height: 150px; }" but this makes the proportion all wrong. I want to be able to upload a headerimage with the size 500x150/200 without having to cut it later. Is this possible to change with some CSS or something?

    My website: http://www.estershorna.com/


  2. Andrew Nevins
    Forum moderator
    Posted 4 years ago #

    Sorry what do you mean 500x150/200 (width, height, ???)

  3. ehorna
    Posted 4 years ago #

    Oh, sorry. I mean 500px (width) and 150px or 200px (height).

  4. ehorna
    Posted 4 years ago #

    I found it by myself.

    This is how I did (and it worked for me):

    Go in to the template file "function.php" and search for "define( 'HEADER_IMAGE_HEIGHT'" and then change the value 105 to the size you want.
    (In my case 150 or 200px)

    But remember to keep a record of the changes you make in the template file. Because if the theme gets upgraded your changes will be lost and You might not remeber where you did all your changes. :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic