Help - Search - Members - Calendar
Full Version: How do you make a fixed background?
Forums > Resource Center > Support Center > Livejournal Support > Livejournal Resolved Topics
xrottingcorpsex
Well Ive got the background I want. The only problem is I don't know how to make it fixed. I don't want it to repeat! I just want my entries to scroll with my background fixed. I know it has to do with CSS, but I'm stuck because I don't know if you are supposed to to put the CSS in a journal entry or if there is a special place for it. Could someone help please?
mipadi
CODE
<style type="text/css">
body {
   background-image:url('picture.type');
   background-repeat:no-repeat;
   background-attachment:fixed;
}
</style>
jordanriane
MIpada, just to let you know, you have to make sure to give them more specifics, since she doesn't know exactly where to put it.


xrottingcorpsex, you add that bit of coding to the override box, which you can find by reading this thread.

The exact code you want to copy and paste into the box would be the following:

CODE
GLOBAL_HEAD=>
<style type="text/css">
body {
  background-image:url('picture.type');
  background-repeat:no-repeat;
  background-attachment:fixed;
}
</style>
<=GLOBAL_HEAD
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.