Hi, can anybody share the code for a adding a background image to the modules?

As you can see in the pic I attached, I found a code to add an image to the module headers, but now I want the code to add an image to the module's backgrounds.

Thanks

PS: I am working on making a nice dark black ning layout and if you help me I will share the layout when it's finished.

Tags: image, module, module background image, modules

Views: 1056

Attachments:

Reply to This

Replies to This Discussion

Jeff, do you want to add a different image to each module background or one image that will cover all the module backgrounds.
Hi Jeff, just put your code where it says 'put jpg code here'

/* Module Body Background (Individual Modules) */
.xg_module_body{
background-color: transparent !important;
background-image:url(put jpg code here);
background-position:center 0px;
background-attachment:relative;
background-repeat:repeat;
border: none;
}

Change if you want it to not repeat to repeat:no-repeat;
or 'relative' to 'fixed' if you want the pic fixed.

Hope this helps.

It doesn't always look good with a pic here though I must add. I always put mine in the border headers and enlarge the boxes.
Thank you
Hi i need help. can any one teach me how to add a different image in each module?
Would you mind sharing the code for module header image? I can't figure it out :(
/* Module Head Picture and Border */
.xg_module_head {
background-color: transparent !important;
background-image:url(add your picture here);
background-position:center 0px;
background-repeat:no-repeat;
height:45px;
border: 6px inset #000000;
}
oh wow thank you so much!!!
Ok, it iis a dum question but, If i have a picture in my computer what will be the code for the picture? I need to first upload it to the network?
You need to upload the picture to a photo sharing site like Tinypic or photobucket Lasse, or you could put it into a comment box on your page via the 'camera icon' and before you hit to leave the comment take the code that comes up.
Thanks very much....Another question...this code here that you gave us...

.xg_module_head {
background-color: transparent !important;
background-image:url(add your picture here);
background-position:center 0px;
background-repeat:no-repeat;
height:45px;
border: 6px inset #000000;
}

Add in my test page the image to the About Box and in the Box where my name is, not in the head of the page where the title is. What is happening?
That must be old code, sorry, try this one.
It's part of what I'm using now.

/* Main Background */
body {
background-color: transparent!important;
background-image:url(add picture here);
background-position:center 0px;
background-attachment:fixed;
background-repeat: repeat;
font-family: Georgia;
}
Yeahhhh...That IS what i was looking for...


Thanks again...

RSS

What's Up With Ning 3.0?

Click here to share your thoughts on what features we should develop next!

Projects that the Ning 3.0 Team is currently working on: 

Articles - a new way of organizing longer content pieces.

Activity Feed Updates - options for more content in the activity feed.

Forum Notifications - ability for members to opt into receiving notifications of new discussions in forums.

APIsThe ability to create new members and content programatically.

For more information on what's next, visit the Product Roadmap

Latest Activity

ceri shaw replied to ceri shaw's discussion 'Disabling Timestamp'
"Thanks Kos...that works a charm...shouldnt be any problem with seo if its just in the activity…"
2 hours ago
Jurrien Mammen replied to Phil McCluskey's discussion 'Introducing Email Notifications for Blogs and Forums'
"+1 for Mailchimp if time is limited maybe consider connecting to Zapier.com (easy way to connect…"
3 hours ago
Jorge Nava replied to Rowald's discussion 'Fase 2'
"I agree with you, i also consider that have been waiting for things to improve since almost two…"
5 hours ago
Jords favorited Eric Suesz's page Upgrading to Ning 3.0: FAQs
6 hours ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing Email Notifications for Blogs and Forums'
".js-followUnfollow {  display: none;}"
6 hours ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing Email Notifications for Blogs and Forums'
"hide it with css"
7 hours ago
Kos replied to ceri shaw's discussion 'Disabling Timestamp'
"Ceri here you go.  Note:  idk how this may impact your SEO b/c Google looks for…"
7 hours ago
Just Asking replied to Dutchlabel's discussion '2 discussions in forum'
"I'm not sure I follow what you're asking, but I'll give it a shot.   When you…"
7 hours ago

© 2014   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service