• I have changed the image in a WordPress template and cannot get my new image to not repeat. I searched for the word “repeat” in the header.php and cannot find it so haven’t made any changes to that file. The original template called the header image top.jpg so I simply named my new image top.jpg so I wouldn’t have to mess with that. Below is the code that I’ve used in the style.css.

    /* The Top */

    .top {
    height:338px;
    margin-top:0px;
    background:url(images/top.jpg)center no-repeat;

    This is the only piece of code in the style.css file that refers to top.jpg so it is the only place that I made changes. Can anyone help me to fix this?

Viewing 1 replies (of 1 total)
  • Change your ‘background’ bit to this:

    background-image: url(image/top.jpg);
    background-repeat: no-repeat;

Viewing 1 replies (of 1 total)

The topic ‘repeating header’ is closed to new replies.