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

Fire-Tech replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"Thanks man and best of luck"
22 hours ago
Fire-Tech replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"Have been focusing on my elearning site...completely different software.I was getting really close…"
22 hours ago
George H. Compton IV replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
":( Sorry to see you go my friend.  Best of luck to you and your new network."
22 hours ago
George H. Compton IV replied to Katy Blagg's discussion Resizing Group Icons
"Hello Katy this should do the trick, the code goes into the design studio global CSS section..
@med…"
22 hours ago
⚡JFarrow⌁ replied to Katy Blagg's discussion Resizing Group Icons
"try adding this to see if it helps .groupHub-group.matrix-itemFluid {
max-width:100%
}"
yesterday
CocteauBoy replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"I spent THOUSANDS of dollars on SE PHP and it was the biggest mistake I've ever made beyond stickin…"
yesterday
George H. Compton IV replied to George H. Compton IV's discussion Add Google translate to all pages. Any network not just Ning networks!!!
"Update 7/21/16 -- Google translate v11 --- The old version no longer works. Google has discontinued…"
yesterday
Kos replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"Yeah, where did you go?"
yesterday
Kos replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"I wish I had your patience to manually move everything.  Just the thought gives me a headache.  It'…"
yesterday
The Builder :) replied to The Ning Team's discussion Update on May Service Disruptions
"  Very very thanks Kos. "
yesterday
Fire-Tech replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"Yup... shut all of mine down too. Last annual billing closes this month.  Did you ever get SE to wo…"
yesterday
CocteauBoy replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"Yeah, I know... it's old news. Still, if we can help any other person from wasting years of money a…"
yesterday
Kos replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"Sorry to see you go Troy but you've conveyed pretty much what everyone feels.  Best of luck buddy. …"
yesterday
Kos replied to manuela stacca's discussion Can I use Ning 2.0?
"Ning no longer issues 2.0 but you can change your title to "looking for a 2.0" and maybe someone ha…"
yesterday
CocteauBoy replied to CocteauBoy's discussion After Years of Enduring Empty Promises, I Am Leaving Ning
"*3+ years since the abandonment began... but I've been with Ning since 2006 or '07. And I finally g…"
Thursday
Kos replied to The Ning Team's discussion Update on May Service Disruptions
"File a ticket online. Bookmark it for future reference http://ec2-75-101-132-140.compute-1.amazonaw…"
Thursday
The Builder :) replied to The Ning Team's discussion Update on May Service Disruptions
"But I Can't access!   :'(

My site is inaccessible (three days)!!! Whats going on Ning? ==>  http:/…"
Thursday
Kos replied to The Ning Team's discussion Update on May Service Disruptions
"Ning doesn't monitor the forums anymore.  You'll have to go with a ticket."
Wednesday
The Builder :) replied to The Ning Team's discussion Update on May Service Disruptions
"Ning, help us, we have problems with our site."
Wednesday
Kos replied to Katy Blagg's discussion Resizing Group Icons
"Understood.  Maybe someone else here is familiar with tabbed containers..............anyone?  Anyon…"
Wednesday
More…