• Resolved Dr.T.

    (@drt-2)


    Hi!

    I am using WP 3.0.1 and the Twenty Ten (default) theme.

    I would like to change the static Header Image 940 x 198 to an animated .gif image 111 x 74 (centered). FYI, I have already changed the original image to another static image of the same size as the original (940 x 198).

    (1) Are the specs in the style.css file?

    (2) What do I need to change?

    Thank you.

    Dr. T.
    http://www.gb2gf.org/blog/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1. Try looking in functions.php. You’ll probably have to adjust the header image container height in style.css too.

    2. Functions.php:

    define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 940 ) );
    	define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 198 ) );

    But be warned that your customisations will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

    Thread Starter Dr.T.

    (@drt-2)

    Esmi,

    Thank you for your response.

    (1) If i create a child theme, does the instructions of the new theme overide the instructions of the Twenty Ten theme? That is, are they executed last?

    (2) You appear to be very knowledgeable about WP. Do you get the information from WP’s Codex?

    Dr. T.

    1. Yes

    2. Yes! That and generally tinkering with WordPress since about 1.2. 🙂

    Then maybe you can help me, I posted a day ago but no one replied.

    “I am having difficulties implementing the code.

    I have the header image code and the background image code in my functions, I am just unsure how to get it working.

    Andrew”

    Thank you in advanced, this is kind of urgent, we need to get the theme done for secondary-sites so we can start on third-sites and then finish with the first-sites and then add beta programs, and make sure all the social sites look good.

    All by January first at 12:01 AM, we wanted to be the first site to officially launch in 2011! The only problem is that it is a huge network of sites.

    Andrew Manson

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Header Image’ is closed to new replies.