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

Kerrie replied to Kerrie's discussion Help I can’t access my network or blogs
"Now I can’t use the inbox and I can’t comment or add to my text boxes,I haven’t had any members joi…"
11 minutes ago
Zachary Moonshine replied to George H. Compton IV's discussion ( TIP N3 & N2 ) Chatwing fixed chatbox v4.3
"thats awesome man NING 3.0 is pretty bad ass once you add some customization like this!"
2 hours ago
Zachary Moonshine replied to Jason Divozzo's discussion Tagging members
"It would also be realy really cool to have a button everywhere we go on the net that would enable u…"
4 hours ago
Kos replied to Thisisbully's discussion This Is 50 Words To Ning
"smh"
5 hours ago
Fire-Tech replied to Thisisbully's discussion This Is 50 Words To Ning
"Wow! Mine are up, but I am getting friend requests from myself. And after all these years, I though…"
6 hours ago
Fire-Tech replied to Jason Divozzo's discussion Tagging members
"+1"
6 hours ago
Thiago Santos de Moraes replied to Andrzej Góralczyk's discussion 500 Unexpected Error for some hours
"All is well now in my community. Thanks Ning for the efficient assistance!"
8 hours ago
Violeta replied to Ángeles Saura's discussion ¿Es obligatorio evolucionar al formato ning 3.0? in Ning Networks en español
"Hola! Nosotras tampoco teniamos previsto migrar por las mismas cuestiones que comentas aqui Ángeles…"
9 hours ago
Strumelia replied to Jeffrey Haskins's discussion Jamroom?
"Well I'm not going to keep debating with you about it forever Jeffrey, but I think you are characte…"
9 hours ago
lorianne replied to Andrzej Góralczyk's discussion 500 Unexpected Error for some hours
"Oursalon.ning.com has the same issue."
10 hours ago
Jeffrey Haskins replied to Jeffrey Haskins's discussion Jamroom?
"Actually have had no help at all...only pointing me away to other sources for help.  Yes, this is o…"
10 hours ago
Gina Garcia replied to Andrzej Góralczyk's discussion 500 Unexpected Error for some hours
"My Ning network LaMesaToday.com is still down."
10 hours ago
George H. Compton IV replied to George H. Compton IV's discussion ( TIP N3 & N2 ) Chatwing fixed chatbox v4.3
"Zachary if it wasn't for you asking me to do this. The members here on creators would not have a pr…"
11 hours ago
Jords replied to Thisisbully's discussion This Is 50 Words To Ning
"Same here, this is downright irritating."
11 hours ago
The Periled Sea replied to Andrzej Góralczyk's discussion 500 Unexpected Error for some hours
"Exactly.. I wasn't even really upset until I got that stoopid response.. its bad enough they waste…"
12 hours ago
The Periled Sea replied to Boris Agranovich's discussion 500: Unexpected Error
"It looks like they have taken off for their holiday and are not concerned about the people paying t…"
12 hours ago
The Periled Sea replied to Thisisbully's discussion This Is 50 Words To Ning
"our site has been down since last night.. "
12 hours ago
Strumelia replied to willowing's discussion URGENT - 500 Error
"I'm betting Ning is aware of this issue since it seems to be affecting a bunch of people.  I hope y…"
12 hours ago
Strumelia replied to Boris Agranovich's discussion 500: Unexpected Error
"Maybe no one at the Ning/Glam office on Thanksgiving?"
12 hours ago
Strumelia replied to Hugh's discussion AnotherError 500 Message
"Ning's not saying I guess."
12 hours ago
More…