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

Ruud Janssen is now a member of NING NETWORKS EUROPE
5 minutes ago
Boris Agranovich replied to Boris Agranovich's discussion Change nofollow links to dofollow links
"Thanks The Builder,

Should I put it in the customs code of my site?
If this so, than all outbound…"
7 hours ago
Chazz replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Thank you Fire-Tech! I don't understand why I didn't Pick it up like I did everything else. This sh…"
16 hours ago
Fire-Tech replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Find PHP classes you like here. Add to wishlist. Wait for them to go on sale for $10 if you don't w…"
17 hours ago
Suki Winthrop replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Roxanne not sure what exactly you r asking to george, but- if you have a ning 2 site you can use th…"
17 hours ago
Donna Mac replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"I totally love Spruz...however....the only thing that I am bugged about is there is no way to send…"
18 hours ago
Chazz replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"I would like to be able to learn PHP.. I can't afford to take classes to learn it. What would be a…"
18 hours ago
Chazz replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"I have been exploring Spruz, Fingers now crossed, I haven't had any spammers yet. When I explored D…"
18 hours ago
Chazz replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"I have actually had responses. Thankfully. Usually it took several days for the site to become acce…"
18 hours ago
Chad Burt replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Quick thought...look at this tracert from one of my many users that have had problems for weeks:
Tr…"
18 hours ago
Roxanne Furlong replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"George, Can you explain this in layman (or doesn't know crap) terms? I have no idea how or what to…"
19 hours ago
Suzie Nielsen replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Yeah, I guess it is not the answer... now I hear folks are checking with their servers..."
19 hours ago
Shadow replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Thank you and yes. dealing with such diversity age or mindset is hard to please all.. but mind that…"
19 hours ago
Donna Mac replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"My site is private by approval only so I guess that would not apply.  I also don't have the name Sp…"
19 hours ago
Shadow replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Have you noticed a bunch of spamming in Spruz.. I had asked one here about Spruz as it was suggeste…"
20 hours ago
Donna Mac replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"I checked the isitdownrightnow.com and my site was indeed down.  I could not get to it from any pho…"
20 hours ago
Asil replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"@Donna Mac.  I suspect the issue was with your Internet Service Provider (ISP).  I was on the phone…"
20 hours ago
Suki Winthrop replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Donna that sounds like Sruz is the perfect fit foryou then- so happy you will be ok! :)"
21 hours ago
Donna Mac replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"I totally agree.  The work I did with SE PHP was labor intensive and a learning experience that I d…"
21 hours ago
Suki Winthrop replied to The Ning Team's discussion Exciting News About Ning + Cyndx LLC
"Hey Donna, i think your last sentence says it all.  We look for something 'as good as ning'- but ni…"
21 hours ago
More…