• 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?

Viewing 1 replies (of 1 total)
  • 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 ??

Viewing 1 replies (of 1 total)
  • The topic ‘[Painter] Changing the Width/Height of Header?’ is closed to new replies.