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

Strumelia replied to Lucia Steele - CTRNetwork's discussion Question: NING 2.0 vs. 3.0
"Miche, you are totally crackin me up ....yeah maybe Ning should hire me as their new customer advoc…"
3 minutes ago
Mary Jane Peterson replied to George H. Compton IV's discussion Ning 2.0 new mobile app / or mobile desktop view
"Hi george 

can you help I   mess up my site  on  the 2.0 site 
thank you so much  you r a star as…"
20 minutes ago
Luke Jones replied to Luke Jones's discussion Create a sign out and a sign in page
"Aww awesome!!!!Thanks John :) Thanks again John :) I'll just have to have a Potch around with it ah…"
44 minutes ago
Anna replied to Anam's discussion Blogs Gone ~ Ning 3
"Mine have gone too. My site looks silly! Submitted a ticket 4 hours ago."
1 hour ago
John Bizley replied to Luke Jones's discussion Create a sign out and a sign in page
"Luke the easist way to do something like this is to have all your pages set to veiwable to members…"
1 hour ago
FedMedic replied to FedMedic's discussion Sliders anyone?
"Same here Diane, I'm not understanding why it is not working in 2.0."
3 hours ago
FedMedic replied to FedMedic's discussion Sliders anyone?
"Well, not any of the suggestions worked. :( Thanks so much for your help!"
3 hours ago
John Bizley replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"This sentiment about not paying has been brought up before but Mode do not care about their custome…"
3 hours ago
John Bizley replied to Anam's discussion Blogs Gone ~ Ning 3
"I agree Jen this is unacceptable, it's been nearly 17 hours since I sent a ticket in about it and g…"
4 hours ago
Anam replied to Anam's discussion Blogs Gone ~ Ning 3
"Agreed SP, it makes a site look very bare and silly. I reported  a ticket as soon as I posted here,…"
6 hours ago
SweetPotato replied to Anam's discussion Blogs Gone ~ Ning 3
"Yes, same issue across all Ning 3.0 sites that I work on. It's affecting blog module content not th…"
7 hours ago
Miche Marie replied to Lucia Steele - CTRNetwork's discussion Question: NING 2.0 vs. 3.0
"And looking around to see more things missing. . .haha. :P
Is there an advanced search feature like…"
7 hours ago
Miche Marie replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"Ok I got an answer from Ning and I did indeed (unfortunately ha ha) read into their statement corre…"
8 hours ago
Miche Marie replied to Lucia Steele - CTRNetwork's discussion Question: NING 2.0 vs. 3.0
"Aww thank you Lucia and Strumelia!! 
Strum~ I think they should have hired You to be Ning support!!…"
8 hours ago
Eugene replied to Anam's discussion Blogs Gone ~ Ning 3
"I agree.  I'm pretty concerned as this issue hasn't been resolved for over 10 hours now.  Our homep…"
9 hours ago
Manu luz replied to Anam's discussion Blogs Gone ~ Ning 3
"Hello family because not reported on this so we know they have to tell us we are the customers , wh…"
10 hours ago
Fire-Tech replied to Anam's discussion Blogs Gone ~ Ning 3
"Mine are up (including main blogs and group blogs), but not displaying on main page module."
11 hours ago
Kos replied to Anam's discussion Blogs Gone ~ Ning 3
"They confirmed it and are looking into it (per an email response I have)"
11 hours ago
Jen replied to Anam's discussion Blogs Gone ~ Ning 3
"This is happening on every site I check, and unacceptable that it has been this many hours. Ning ne…"
12 hours ago
Writer Chick {Diane} replied to FedMedic's discussion Sliders anyone?
"Well, I guess I'm too dumb to install this, then.  The only directions I see are for installing it…"
14 hours ago
More…