I imported a pic for my homepage  background and was wondering  what code I can use to make it fixed in place, so the body will move as you scroll, but not the pic.

There was an old theme,  forget what it was called, something like disco or club or something that had that in it's basic HTML code.  I tried to use it here but won't work like it did.  So? Anyone know exact code to use and where to put it?  Thanks for your help, I really do appreciate it!

Views: 1038

Reply to This

Replies to This Discussion

Hope this code will help you...


/* Fixed background */
body {
background:url(YOUR IMAGE LINK GOES HERE) no-repeat fixed center top #FFFFFF !important;
}
/* Fixed background */

I tried this, although for some reason it's not working. Do you have any other ways of fixing this? I still I get a white transition background at the end of my background. Any help would be greatly appreciated.

can u show me your site?

Of course, myterajournal.com

You can see what I mean at the bottom of the homepage.

Use the exact code given above...you background image is not fixed..

See I have had that same exact code in. Though nothing happened. I just re-placed it in and now my background is just white.

Where did you put this code?

I found out, it was my image link that wasn't working. Thank you for the help.

body { background-image: url(---------); background-attachment: fixed; background-size:1130px 767px; }

And if you want to adjust the size use this code just replace the ----- with your image link and adjust the size..

Being able to adjust the size will give you the option of stretching or shrinking your picture To fit your page.. no more Tiling the pictures

if you look at my page at : http://www.navydads.com/profile/PaulCorona you can see how my implementation works. 

body {
background:url(http://api.ning.com/filesIMAGE>>.jpg?width=1920);



background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}

Paul - That website of yours looks really cool. It has a very 3 dimensional effect.

The only reason I wouldn't want one like that for myself is the difficulty in legibility of all the text.

Looks so nice ....Blessings, Debby

yeah, aware of the text but got tired of fussing with code and said to heck with it....for the time being.....

RSS

Latest Activity

Lady Panter favorited Rafael's group Ning Networks en español
48 minutes ago
Dustin Craig replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Thanks!"
2 hours ago
Dustin Craig replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Let me send you a friend request so I can message you rather than take this thread more off-topic."
2 hours ago
Paul Corona replied to Suzie Nielsen's discussion 'Watching Cultivating videos- have questions!'
"So many folks were asking the same questions that I thought actually showing them the basics of the…"
3 hours ago
Chris replied to JFarrow's discussion 'Ning Emails Going to Spam?'
"Nope, had all the answers: "it's not a bug", "it is a bug and has been…"
4 hours ago
Larry Matthews replied to Larry Matthews's discussion 'Photos'
"www.dismyhood.com I need to enlarge images on mouseover, on the activity feeds. There is a feed for…"
5 hours ago
Fabio replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"F A N T A S T I C !!!!! well done guys"
5 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Hi Allison, I have a Client who needs the Search feature. Any updates? I don't see any Search…"
5 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service