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

Hugh replied to Hugh's discussion Latest on Ning and iframes?
"Thanks for the reply. 
What I've always done is to take the YouTube code and paste it into html edi…"
10 hours ago
Kyryl_Ning_Support replied to Bryce Rubio's discussion A Follow-Up Message from our CEO
"Hi Kevin,
Apologies for the inconveniences and thanks for the feedback.
We have informed the manage…"
12 hours ago
Kyryl_Ning_Support replied to Bizz ( John )'s discussion Is This A New Feature ?
"Hi John,
We don't wish to disappoint you but this option was available before. This option is prett…"
12 hours ago
Kyryl_Ning_Support replied to Hugh's discussion Latest on Ning and iframes?
"Hi Hugh,
I have run the test on my test network by using the code provided by Youtube here https://…"
13 hours ago
Kos replied to Bryce Rubio's discussion A Follow-Up Message from our CEO
"Bryce chat, please, please, I'm grovelling, get chat released.........."
yesterday
David replied to David's discussion When are cancelled sites deleted?
"Thanks for the update, it's good to know it will eventually vanish."
yesterday
Kevin Acosta replied to Bryce Rubio's discussion A Follow-Up Message from our CEO
"Thank you for this venue to voice our issues and concerns as you plan and strategize upcoming enhan…"
yesterday
Kos replied to Hugh's discussion Latest on Ning and iframes?
"Absolutely they should.  File a ticket and get them on it.  Must be a new glitch"
yesterday
Kyryl_Ning_Support replied to Robert Sheen's discussion why is my Ning site unavailable?
"Hi there,
We have replied to you on the ticket that you have sent.
Best regards,
Ning Creators"
yesterday
Kos replied to Robert Sheen's discussion why is my Ning site unavailable?
"Sounds like they've deactivated you for some reason.  Contact them here.  Hope they get you up soon…"
yesterday
Carrie Robinson, Anthea Variend and Maureen Jansen joined Ning Creators Network
yesterday
Paul Corona replied to Robert Sheen's discussion why is my Ning site unavailable?
"we are having an issue with our site as well thought we're just getting and Unavailable message....…"
yesterday
Bizz ( John ) replied to Bizz ( John )'s discussion How To Add A Popular Blogs Module ( ver1 )
"Thanks Kos
I will add one for forums and articles as well as it works virtually the same."
yesterday
Kos replied to Bizz ( John )'s discussion How To Add A Popular Blogs Module ( ver1 )
"I think there are a lot of people who will love this tip.  Displaying the most popular 'anything' i…"
yesterday
Kos replied to Bizz ( John )'s discussion Enhance Your Social Channels Player ( All code I have used on my site )
"I wonder if Ning is taking notes.  *lol*   Thanks John!"
yesterday
Kyryl_Ning_Support replied to David's discussion When are cancelled sites deleted?
"Hi David,
Your network right now is on pending cancellation. The page that you can see at the momen…"
Monday
Kos replied to Diane Chojnowski's discussion Need help using CSS to change group owner
"That's fantastic!  That's the nice thing a/b having Creators here.  Sometimes it helps to just brai…"
Monday
Thisisbully replied to Bizz ( John )'s discussion Why I Have Been Adding A Lot Of Photos To My Site
"Nice finally"
Monday
Diane Chojnowski replied to Diane Chojnowski's discussion Need help using CSS to change group owner
"Thanks Jen for your brainstorming. We were able to fix the problem with a work-around.
We had the o…"
Monday
Tommy Gene and Kirsten Izatt joined Ning Creators Network
Monday
More…