Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

How to add a module background image?

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.ThanksPS: 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.

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Replies

  • 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?
This reply was deleted.

Search the Creators Network

Latest Activity

Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Oye.  Can't be 'simple', can it.  *lol*  At least it's an option for 3.0 owners."
yesterday
Yolanda van Heese replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"Thanks, we'll get back to you later! "
yesterday
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Absolutely. You may need to set up the scraper differently for each platform or manipulate the scra…"
yesterday
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"SP can I then assume what is 'scraped', can then be imported onto other platforms?"
yesterday
Todd Underwood and VU APEX joined Ning Creators Network
yesterday
SweetPotato replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"I don't think there is an automated way but there will be custom coded ways to feed "my group activ…"
yesterday
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"You're welcome. Here, for example is JSON file containing the last 300 or so forum discussions here…"
Wednesday
Jen replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Kos, sent you a pm."
Wednesday
Kos replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Yeah I thought a/b that too (CSS) but the 'save' button won't work there either.  Well I'll reach o…"
Wednesday
Jen replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"WHOA, not good! Send me a private message. I'll probably have to signin to your site as Admin, hide…"
Wednesday
Adrian Fronda, Peter Valley, Elizabeth Meynardie and 5 more joined Ning Creators Network
Tuesday
Janine Cuthbertson replied to Peter Matthews's discussion Is it possible to merge networks?
"I have wished for this merge solution for years. I currently have 2 smaller Ning networks that will…"
Tuesday
Rowald replied to Ning's discussion Update to Product Roadmap and Communication Changes
"It's over with Ning.."
Tuesday
TJ @ jQueryHelp replied to Christopher Smith's discussion Expand Event Invitation notifications
"Hi Christopher,
I'm not sure if there is a way to do this using what Ning already provides.  But it…"
Tuesday
Garfield Archivist replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"You can't do in one click as Kos said. If you are doing this because you are concerned about storag…"
Monday
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Nope, doesn't exist.  You must delete one by one.  Yeah, it's a pain."
Monday
Randy L. Vollett replied to Annabel Gregory's discussion Captcha confusion
"Your welcome."
Monday
Annabel Gregory replied to Annabel Gregory's discussion Captcha confusion
"That's brilliant, Randy - thank you so much (btw, the captcha has always shown a number, not words,…"
Monday
Olga Boehm replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"How can I remove balk of old photos in one click? Advise please! Ning 2.0."
Monday
Olga Boehm replied to Dana's discussion Deleting photos in bulk
"so - still no way to clean up all photos?  what i f delete all photos as an element? erase it?"
Monday
More…