I was wondering if there's a way to freeze the background so that it doesn't scroll with the rest of page?
(4 posts)
(2 people)
I was wondering if there's a way to freeze the background so that it doesn't scroll with the rest of page?
Open the html file that you want to do this on and look for (<body style="background:) and replace it with this code:
<body style="background-image: url(http://www.YOURDOMAIN.COM/YOURIMAGE.JPG); background-position:top center; background-attachment: fixed; margin: 0pt; " onload="onPageLoad();" onunload="onPageUnload();">
Remember to upload your bg image to your host! and replace (http://www.YOURDOMAIN.COM/YOURIMAGE.JPG)
with you domain and image.
And that's it :)
THANK YOU!!!!
WORKS PERFECTLY!!!!
You must log in to post.
Use the form below to search the site:
Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!