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 Social Network to add comments!

Join Ning Creators Social 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

Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi Cindy,
Thanks for the nice words, we are doing our best to make Ning 3.0 even more functional th…"
1 hour ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi there!
We do appreciate your wish to help, thanks a lot!
As you have may seen from my previous c…"
1 hour ago
joseph wade burnley is now a member of Ning Creators Social Network
1 hour ago
Cindy Dean Mccoy replied to Kyryl_Ning_Support's discussion Paid Access demo version
"I am so excited about Ning 3 being upgraded.  I look forward to the day Ning 3 has the features we…"
6 hours ago
Kyryl_Ning_Support replied to Dr. Krishna Kumari Challa's discussion I am unable to find discussions on my network when I search. Any solutions?
"Hi Claudio!
Our system administrators working on this issue at the moment, so the search should be…"
15 hours ago
Kyryl_Ning_Support replied to M.Tariq Malik's discussion "Network not launched yet" Error on vustudents.ning.com.
"Hi there!
Yes, the network should be back online.
Sorry for that.
Best regards,
Ning Team."
15 hours ago
Kos replied to M.Tariq Malik's discussion "Network not launched yet" Error on vustudents.ning.com.
"It's up and running in Firefox for me at 9:30 a.m."
16 hours ago
Claudio Acosta replied to Dr. Krishna Kumari Challa's discussion I am unable to find discussions on my network when I search. Any solutions?
"Similar problema tengo en mi red www.trabajoenelnea.com.ar, no funciona ninguna de las funciones de…"
16 hours ago
Ning via Facebook

#unitewithNING Facing routine? Ready to meet unknown Celtic traditions and growing Wisdom? :)…

Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi Silvia,
I hope you wish to join the beta test of the paid access as well, so I have sent you the…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi there!
Thanks for supporting us and you willing to help!
I have sent some questions to you via p…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hello Mike,
Thanks for responding.
I have sent you the private message to confirm some details.
Bes…"
yesterday
Olivia Salazar and alexandre gera joined Ning Creators Social Network
yesterday
Ceddy J replied to Kyryl_Ning_Support's discussion Paid Access demo version
"As always, I'm eager to help each other grow!"
Sunday
Sílvia Mota replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Meu contato: silviamota@silviamota.com.br"
Saturday
J.Ayvar replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Amazing News !<br/>

Our Site tin.dating Will be Perfect to test this New feature."
Friday
Kos replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Matt the code in 2.0 is old, out of date and degrading over time - which is why they built 3.0.  3.…"
Friday
Mike Collins replied to Kyryl_Ning_Support's discussion Paid Access demo version
"I'd like to be involved in looking at paid access demo please "
Friday
Harly replied to Ivy Williams's discussion Ning Roleplay Sites
Friday
Kyryl_Ning_Support replied to Dr. Krishna Kumari Challa's discussion I am unable to find discussions on my network when I search. Any solutions?
"Hi there,
We are sorry for this. Previously we have been fixing the search on each network separate…"
Friday
More…