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

Willerie Razote replied to Willerie Razote's discussion Profile Questions--Can you have different versions for each member category?
"Thanks JFarrow.  Sorry about not being so clear. 
My forum has 2 member categories, and each one ha…"
2 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"It does appear that they cannot wait to see us go.  Unreal...totally unreal"
3 hours ago
JFarrow replied to Willerie Razote's discussion Profile Questions--Can you have different versions for each member category?
"Not sure i understand your question.  could you elaborate?"
3 hours ago
steve replied to Ning's discussion Update to Product Roadmap and Communication Changes
"if you need your ning site for now Donna then i would hold off until a couple of days before. Ive j…"
3 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Ah yes, now I remember!   Good move, I did it right around then as well as I recall."
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"I switched to monthly a year ago preparing to abandon ship  :)  "
4 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Just remember Ning has a policy ofn ot refunding ANYTHING once they renew a yearly subscripstion. …"
4 hours ago
Asil replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
""Woman in hat is now Glam Public Relations Manager." <--- That made me laugh so hard I started to c…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"That makes me feel better....I was on that page where it said "cancel network" and I just could NOT…"
4 hours ago
Strumelia replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Most are now working at Starbucks and Olive Garden. The one old guy in the back was actually the ja…"
4 hours ago
Asil replied to Ning's discussion Update to Product Roadmap and Communication Changes
"@ Donna.  I honestly don't think it was malicious.  I think the support person simply didn't read t…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"MY God what a horrible thing....fearing what the big NING will do.  My subscription date is the 22n…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"That is exactly what I would expect of NING.  So I shall wait until I am ready to cancel.  Thank yo…"
4 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Agree with Asil.
Call the Ning Billing dept by phone and doublecheck the exact date of when your an…"
4 hours ago
Asil replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"I suspect many have left and many are working on stuff that has nothing to do with the NING platfor…"
4 hours ago
Asil replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Thanks, Ken.  I signed up for the NING-to-Jamroom mailer. Looking forward to learning more."
4 hours ago
Asil replied to Ning's discussion Update to Product Roadmap and Communication Changes
"@ Donna.  I tried to do an advanced cancellation of one of my NING sites with them last year; it wa…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Can someone tell me if I cancel my community site now with a date of Dec. 31, 2014...will NING hono…"
5 hours ago
Simon Farnworth replied to Jamie Baker's discussion Compress Your CSS, quickly & easily :)
"Great tip, thanks!"
10 hours ago
Kira Slye replied to Ning's discussion Update to Product Roadmap and Communication Changes
"So there has not been an update in almost 6 MONTHS! Very disappointing, like many creators I really…"
13 hours ago
More…