• Tweaking the CSS in my theme… changes the wrapper width from 940 to 860. But, now the default setting for uploading header images is still at 940. How do I change the php to the new 860 width?
    <img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />

Viewing 2 replies - 1 through 2 (of 2 total)
  • According to your code, you have defined a Constant named HEADER_IMAGE_WIDTH that states the width of your header image.

    It is likely that this constant is defined in your functions.php file in your theme’s directory. It should look something like:

    define(HEADER_IMAGE_WIDTH, 940);

    Change that line to:

    define(HEADER_IMAGE_WIDTH, 860);

    if not in your functions.php file it must be defined somewhere in your theme.

    Best of lucks.

    Thread Starter ArtShop

    (@artshop)

    Worked like a charm!

    Rots of Rucks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php sets header img at 940 x 198’ is closed to new replies.