Forums

[Painter] Changing the Width/Height of Header? (2 posts)

  1. Mykronos
    Member
    Posted 2 years ago #

    I am currently using a painter theme (which is awesome), however, the theme requires the header to be an exact size.

    I have looked at header.php to try and see if I can find something in the file about header sizes with no luck. (I am very amateur however)

    Any advice?

  2. raestanton
    Member
    Posted 1 year ago #

    You need to make two small changes:

    Firstly, in custom-header.php change the image height in the following code:

    // constants
    define('HEADER_IMAGE', '');
    define('HEADER_IMAGE_WIDTH', 980);
    define('HEADER_IMAGE_HEIGHT', nnn);

    (replace 'nnn' with your image height)

    Secondly, you need to make a change to the style.css file, but not via the WP dashboard/editor. That file doesn't seem to do very much!

    Instead find /wp-content/themes/painter/css/styles.css

    Then change height value in the following code:

    /**************************************************************************************************
      Header
    **************************************************************************************************/
    #header
    {
      clear:both;
      width:980px;
      height:NNNpx;
    }

    hope that helps :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags