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

dave replied to George H. Compton IV's discussion (Ning 2 & 3) welcome / sign-in and sign-up pop-up module. Updated May 1, 2016
"Awesome work George :-) Great update thank you for sharing."
2 hours ago
George H. Compton IV replied to George H. Compton IV's discussion Ning coding and styling Tool "GeocPlugin" v2.00.005
"Update May 2, 2016
NEW Feature, Run a script every 15, 30, 45 or 60 seconds. Target just online mem…"
9 hours ago
steve davies replied to Traddie's discussion Can't Sign in or out of my Network, or add blogs
"Are many of you pasting from MS Word into Ning?
Had an issue with some work I did years ago. Turned…"
yesterday
steve davies replied to Traddie's discussion Can't Sign in or out of my Network, or add blogs
"Here is my update from the other convo - Steve D, Canberra
UPDATE: Ning contacted me quite quickly.…"
yesterday
steve davies replied to steve davies's discussion Can't sign out of my site etc
"UPDATE: Ning contacted me quite quickly. Said that they had cleaned up some 'stuff' at their end. T…"
yesterday
Garfield Archivist replied to steve davies's discussion Can't sign out of my site etc
"I think you missed the part where Steve said they don't care. If you don't pay they will cancel you…"
yesterday
Kos replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"Seth you do realize you're preaching to choir here b/c Ning is not involved in the forums..........…"
yesterday
Kos replied to Seth Regan's discussion Migration from a broken 2.0 to 3.0
"1.  I lost no content and all my members made it ro 3.0 just fine.
2.  Yes some things are missing…"
yesterday
Seth Regan replied to steve davies's discussion Can't sign out of my site etc
"I'm not paying anymore till it's fixed."
yesterday
Seth Regan replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"I'm just gonna keep making a big stink about it.... cuz well... it STINKS!"
yesterday
Just Asking replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"Yeah, I have said the same thing on the FB page. One of my competitors was closing and I was poised…"
yesterday
Steve C replied to steve davies's discussion Can't sign out of my site etc
"We're paying for a service that doesn't care."
yesterday
Seth Regan replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"Oh and now they wanna raise prices?!?!?!"
yesterday
Seth Regan replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"I've lost more than that... I've lost MEMBERS which I've worked very hard to get to join. I've lost…"
yesterday
Just Asking replied to Seth Regan's discussion Migration from a broken 2.0 to 3.0
"3.0 is still missing a lot of features. They never finished developing it. :/ This doesn't answer y…"
yesterday
Seth Regan replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"You're raising pricing while 2.0 hasn't even been working right for weeks???? Are you insane?
Get m…"
yesterday
Seth Regan replied to Crystal's discussion It's Time - Creators 3.0 Launches Wednesday - UPDATE - It's LIVE!
"Are you going to finally fix 2.0? My network is STILL having 500 Error issues."
yesterday
Seth Regan replied to steve davies's discussion Can't sign out of my site etc
"Are we to ask all of our members to "try a different browser"? NO! This should just WORK! It's utte…"
yesterday
Just Asking replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"*Like* *Like* *Like* *Like* *Like* 
Ditto that. I've lost more than a week because of these errors,…"
yesterday
Kos replied to steve davies's discussion Can't sign out of my site etc
"File a ticket online (if you can't on your website) http://ec2-75-101-132-140.compute-1.amazonaws.c…"
yesterday
More…