• Resolved zander74

    (@zander74)


    Hello,
    I’m completely new to wordpress and web design in general…but I’m learning quickly…

    I’ve pretty much finished building my website, https://www.harbourtone.com, the only problem I have is that the header won’t show up in internet explorer but it will on every other browser.

    I’m using the twenty ten theme and I’ve set up a rotating header image with 4 different images. This is the code I used to do that:

    <img src="https://harbourtone.com/wp-content/themes/twentyten/images/header_<?php echo(rand(1,4)); ?>.jpg"
    width="image_width" height="image_height" alt="image_alt_text" />

    I’ve searched but can’t find anyone else who’s had the same problem…hope someone can help,
    Thanks,
    -Alex

Viewing 1 replies (of 1 total)
  • no problem in my IE7

    either try and see what happens if you remove:
    width="image_width" height="image_height"

    or change them to:
    width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>"

    btw,
    be aware that twenty ten as the default theme of wp3 will be overwritten when you next upgrade to a newer wordpress version; all your modifications will be lost.

    consider creating a child theme https://codex.www.ads-software.com/Child_Themes
    and make regular backup copies of your theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Rotating header won't show in internet explorer’ is closed to new replies.