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

Kos replied to The Ning Team's discussion Network Accessibility Update II
"Wow, well that's good.  People don't come back to a site when they can't post anything.  Glad it wo…"
4 minutes ago
Kos replied to mark gardner's discussion My network is in maintenance? Message error
"Sadly there's no one there anymore working on the weekends.  The message makes me think they took t…"
6 minutes ago
Aleman Chandrasekar is now a member of Ning Powered Events
yesterday
Gerry Emery and Anna Semendiaieva joined Ning Creators Network
yesterday
Hugh replied to The Ning Team's discussion Network Accessibility Update II
"Thanks Kos. The issues resolved themselves later that day, Functionality returned bit by bit. It wa…"
yesterday
Kos replied to The Ning Team's discussion Network Accessibility Update II
"Hugh just seeing this now.  Wow, you're going through a boatload of issues.  Have you cleared your…"
yesterday
mark gardner and Rafael Marchesi joined Ning Creators Network
yesterday
Rowald replied to Anthony Reardon's discussion What is Ning?
"Great post and good to see you here Anthony!"
Thursday
Hugh replied to The Ning Team's discussion Network Accessibility Update II
"I've been reporting problems with my broadcast messages failing to reach all members for a couple o…"
Wednesday
Hugh replied to The Ning Team's discussion Network Accessibility Update II
"As of this morning, all my backend functionality doesn't work. So far I've discovered that I cant:…"
Wednesday
Giovanni Cappai replied to Giovanni Cappai's discussion Need your Feedback!
"Really appreciate it! do you have any other suggestions to improve my network design? I'd love to h…"
Tuesday
George H. Compton IV replied to Giovanni Cappai's discussion Need your Feedback!
"Sorry I wasn't wearing my glasses yesterday when I post this. Here's the code without the extra scr…"
Tuesday
Cat replied to The Ning Team's discussion Network Accessibility Update II
"I disliked 3.0 also, Happy, and will have to find a new platform, if 2.0 stops being supported."
Tuesday
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 11/28/16 -- Google translate v12 - All languages. You no longer have to select a default lan…"
Monday
Mustaien is now a member of Ning Creators Network
Monday
Jen replied to The Ning Team's discussion Network Accessibility Update II
"Yes. It's just a simple HTML Text Box to add something about yourself, like an intro. Ning 2.0 offe…"
Monday
Hippy replied to The Ning Team's discussion Network Accessibility Update II
"all I have to say is if you do quit supporting 2.0 you can quit looking for my payment each moth ,…"
Monday
Giovanni Cappai replied to Giovanni Cappai's discussion Need your Feedback!
"Hi George! thanks for your help and yes, i found your tip so cool that i dove into it immediately :…"
Monday
Brian Antezana replied to The Ning Team's discussion Network Accessibility Update II
"Yikes!"
Monday
Just Asking replied to J.Ayvar's discussion Our Ning Account has been hacked.
"Where is there more information on this? How do you know the scope of it?"
Sunday
More…