Repeating an image horizontally across the banner?!
-
Hey everyone,
I’m very new to HTML and CSS coding, but have been working on a website, editing the Minimatica template to create a slightly different design.
Here’s the link to what I’ve got so far:
linkNow, what I really want to do is take an image of film reel borders:
and loop it right across the header and footer behind the text at the top and the social media icons at the bottom.
I worked out how to do this all in CSS and tried it in a sandbox- it worked perfectly:
body { background-image:url('http://audioscoundrels.com/wp-content/uploads/2011/10/Bannerloop4.png'); background-repeat:repeat-x; }
But editing various parts of the stylesheet has not yielded the same results at all, unfortunately.
The file I’ve been adding to is the ‘header’ template. I added an image in HTML and it appeared fine. But when I try and put it as a background it just doesn’t come up at all, let alone when I try and do ‘x repeat’ on it.
This has been frustrating me for days- I really don’t know how to get this simple idea functioning.
Here is the code (including the failed code to try and repeat the banner image). I hope that someone can make head or tail of it:
[code moderated - please follow the forum guidelines for posting code]
I apologise for my lack of appropriate terminology- I'm really new to this and just want to get the page looking right.
Here's a mockup of what I really want it to look like- I just edited this together on some imaging software.Thanks very much for all your time- I really look forward to hearing your answers, and if there is a simple solution for my problem, please don't hesitate to let me know!
Cheers,
Rob
- The topic ‘Repeating an image horizontally across the banner?!’ is closed to new replies.