Title: function.php
Last modified: August 20, 2016

---

# function.php

 *  [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/)
 * I’m about to start crying.
 * I fell in love with this theme and things have been going great until I went 
   to try and add a header image resize to the function.php and then everything 
   fell apart.
 * I tried copy and pasting the original function.php from the spun.zip file but
   nothing.
 * Im so sad. 🙁 I don’t know what i did wrong and now that website is ruined. I’m
   hoping I can find a quick fix soon as i need to have this website done! 🙁

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/functionphp-7/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/functionphp-7/page/2/?output_format=md)

 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543684)
 * I just deleted a re-installed everything. But now my header image is small. I
   need it to be like 400px x 600px.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543706)
 * >  I tried copy and pasting the original function.php from the spun.zip file 
   > but nothing.
 * Uh don’t do that. Don’t cry either. 😉 A link to your site doesn’t hurt either.
 * First thing: if you haven’t already done so [create a child theme of Spun](http://codex.wordpress.org/Child_Themes).
   Call that directory `spun-child` and put this simple `style.css` file there.
 *     ```
       /*
       Theme Name: Spun Child Theme
       Author: Self-Help WordPress User
       Template: spun
       */
   
       @import url("../spun/style.css");
       ```
   
 * In your dashboard activate the Spun Child Theme. That will be the starting point
   for making any changes. That way if Spun gets updated then you will not lose 
   your work.
 * Now what changes to the original `functions.php` file where you trying to make
   and what header? Did I mention a link could help? 😉
 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543735)
 * I reinstalled the spun.zip and have a new theme up.
    link – kmpaperie.com/custom
 * the problem now is the header size.
    How can I make the logo header bigger?
 * I have jetpack and have been using that for the other adjusments you’ll see on
   the theme.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543736)
 * Hello kmpaperie, in your Child Theme style.css file, add this;
 *     ```
       #masthead img {
        max-height: auto;
       }
       ```
   
 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543741)
 * I put it on my jetpack css and it gave me a ! in a triangle and didn’t work.
 * It’s auto and not the actually pixel size?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543743)
 * Auto is the equivalent actual pixel size. You can use the pixel size if you want.
 * Is there anything else Jetpack is saying as a warning about it?
    Can you post
   a link to [a screenshot ](http://snag.gy)of this?
 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543745)
 * here you are – [http://snag.gy/O71gO.jpg](http://snag.gy/O71gO.jpg)
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543747)
 * Sorry, it’s _initial_ not _auto_. Try;
 *     ```
       #masthead img {
        max-height: initial;
       }
       ```
   
 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543748)
 * no dice 🙁 kmpaperie.com/custom
 * it still has the ! triangle thing.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543749)
 * But it is working in the website, right?
 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543750)
 * no 🙁 it still cuts off the logo – kmpaperie.com/custom
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543751)
 * Can you try uploading your logo again?
    [http://www.kmpaperie.com/custom/wp-content/uploads/2013/03/cropped-kmplogobig.png](http://www.kmpaperie.com/custom/wp-content/uploads/2013/03/cropped-kmplogobig.png)
 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543752)
 * sure sure. One second.
    and thank you for helping me with this. 🙂
 *  Thread Starter [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543753)
 * okay uploaded. Its still cropping at 150x150px
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/#post-3543754)
 * See this thread
    [http://wordpress.org/support/topic/make-header-larger?replies=3](http://wordpress.org/support/topic/make-header-larger?replies=3)

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/functionphp-7/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/functionphp-7/page/2/?output_format=md)

The topic ‘function.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spun/2.0.2/screenshot.png)
 * Spun
 * [Support Threads](https://wordpress.org/support/theme/spun/)
 * [Active Topics](https://wordpress.org/support/theme/spun/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spun/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spun/reviews/)

 * 24 replies
 * 5 participants
 * Last reply from: [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/functionphp-7/page/2/#post-3543781)
 * Status: not resolved