Trying to load background code into my template
-
I found this awesome site https://www.shabbyblogs.com. I got the code from one of their background templates, but now I have no clue how to get to to load in my css right. Any ideas?
This is the code and I am using the Evolve Worpress Theme
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<script>document.write(unescape("%3Cstyle%20type%3D%22text/css%22%3E%0Abody%20%7B%20background-image%20%3A%20url%28%22http%3A//www.shabbyblogs.com/storage/new/ShabbyBlogsHideAntique.jpg%20%22%29%3B%20background-position%3A%20center%3B%20background-repeat%3A%20no-repeat%3B%20%20background-attachment%20%3A%20fixed%3B%20%7D%0A%3C/style%3E%0A%3Cscript%20type%3D%22text/javascript%22%3E%0Avar%20shabby_div%20%3D%20document.createElement%28%27div%27%29%3B%0Ashabby_div.innerHTML%20%3D%20%27%3Ca%20target%3D%22_blank%22%20href%3D%22%20http%3A//www.shabbyblogs.com%22%3E%3Cimg%20border%3D%220%22%20src%3D%22http%3A//www.ShabbyBlogs.com/storage/ShabbyBlogs.jpg%22%3E%3C/a%3E%27%3B%0Adocument.getElementsByTagName%28%27body%27%29.item%280%29.appendChild%28shabby_div%29%3B%0Ashabby_div.style.cssText%20%3D%20%22position%3A%20absolute%3B%20left%3A%200px%3B%20top%3A%2030px%3B%20z-index%3A%2050%3B%20width%3A%20150px%3B%20height%3A%2045px%3B%22%3B%0A%3C/script%3E"));</script>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Trying to load background code into my template’ is closed to new replies.