• Hi all, I’m *very* new to this, and have been trying to figure out how to change the header image…I finally got rid of the kubrick blue, but the new image doesn’t show up? What am I doing wrong? The file is

    wp-content/themes/default/images/riceheader.jpg

Viewing 7 replies - 16 through 22 (of 22 total)
  • Oh, the code’s there twice, as part of some kind of conditional statement. I’m not sure what that’s all about, mainly because I’m clueless with php but also because the first part of the code is missing, but you’ll have to edit both instances of the path to the image in exactly the same way.

    Thread Starter canarygirl

    (@canarygirl)

    Thank you! 🙂 The image shows up now…..but…..ACK! Now it’s repeated all throughout the page…Should I also delete the part that says repeat-y top? You must think I’m nuts LOL

    Thread Starter canarygirl

    (@canarygirl)

    This is what part of the code looks like now:

    <?php
    // Checks to see whether it needs a sidebar or not
    if ( !$withcomments && !is_single() ) {
    ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/riceheader.jpg”) repeat-y top; border: none; }
    <?php } else { // No sidebar ?>

    <?php } ?>

    </style>

    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”page”>

    Should that floating “<?php } ?>” line be deleted?

    Thread Starter canarygirl

    (@canarygirl)

    Ok, so I should put it back and edit it the same way…..brb going to try it out….

    Thread Starter canarygirl

    (@canarygirl)

    I’ve still got it repeating throughout the page, rather than being just a header image. 🙁

    Yeah, deleting the “repeat-y top” is a start, but I think you also need to replace it with “no-repeat”.

    No, you’re not nuts, but dealing with css can have that effect! I tend to have to hack around to get what I’m after, and on the way I can end up tearing my hair out.

    Thread Starter canarygirl

    (@canarygirl)

    Goodness. When I replace repeat-y top with either repeat-n top or no repeat, the image disappears again, and the page color changes as well. I SO hear ya on the hair pulling! I’m almost ready to go to the classic version…until I can design my own. I’m studying and learning how the coding works, maybe with the Classic I’ll have better luck. I appreciate so much all the help you’ve offered me! Thank you! I’m going to hit the drawing board a bit, and see what happens.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Header image not showing up’ is closed to new replies.