• In my style.css I used a 1px wide sliver of a background I created in photoshop and repeated it across the x-axis. I have the file saved in an images folder in my theme’s folder I just need to know how to code it so that this will work on my wordpress layout.

Viewing 1 replies (of 1 total)
  • your-element {
    background: url(‘images/your-image.jpg’) repeat-x;
    }

    That is assuming that the image is in your theme’s ‘images’ folder.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Proper code for CSS repeating background?’ is closed to new replies.