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

Sanjay Barmashakha, Katy Blagg and Akhilesh Kumar joined Ning Creators Network
6 hours ago
Kristin replied to Jeffrey Haskins's discussion It really does look like NING is dead, or nearly there
"Really frustrating."
yesterday
⚡JFarrow⌁ replied to Mia's discussion Access word docs from archive?
"This is what the page linked to by Eric used to say:
ARCHIVE YOUR MEDIA FILES



After you have ins…"
yesterday
⚡JFarrow⌁ replied to Jeffrey Haskins's discussion It really does look like NING is dead, or nearly there
"Suicide"
yesterday
Margaret Ditty replied to Crystal's discussion Welcome to Creators 3.0!
"Is there such a thing as an iPhone app with Ning similar to what Facebook has?"
Saturday
George H. Compton IV replied to George H. Compton IV's discussion MY Firefox Restore 2017 v11 free Download
"I purchased a new compiler today so I had to update this app.  My Firefox Restore Version 11.1"
Friday
Alex Pidgley is now a member of Ning Creators Network
Friday
Jon Roberts replied to Jeffrey Haskins's discussion It really does look like NING is dead, or nearly there
"I'm right there with you. We have subscribed since 2012. A refund would be justice served, however…"
Friday
Ambroise replied to Ambroise's discussion [Graph API error] Facebook alert
"Here is the rest of the conversation (see below)Ning responses are fast but are not effective. Appa…"
Thursday
Kos replied to Ambroise's discussion [Graph API error] Facebook alert
"Well I'm glad you posted it here at Creators, in case others experience the same problem.  When it…"
Thursday
Ambroise replied to Ambroise's discussion [Graph API error] Facebook alert
"Thank you for your answer Kos I received a fairly detailed response from Ning assistance service, w…"
Thursday
Ambroise replied to Ambroise's discussion [Graph API error] Facebook alert
"Here following the conversation I had with Ning Helpdesk :
23 juin 2016 at 2:13
Réponse (Ioana)
Hey…"
Thursday
JASON M HARRIS replied to Speed Racer's discussion Develop an iPhone or Android App?
"I'm new to NING... They are a weird company... Lots of common sense things, to do better business,…"
Wednesday
Kos replied to Ambroise's discussion [Graph API error] Facebook alert
"I haven't received any notifications but maybe it's to come (?).  Please let us know how Ning respo…"
Wednesday
Shelli Poole replied to Shelli Poole's discussion Is there a back door to managing blogs/discussions in bulk?
"Found a way to do 10 at a time on the blogs..."
Jun 21
TJ @ jQueryHelp replied to Rich's discussion Need a quick answer, can I do this??
"Hi Rich,
There are many things you can do to interface Ning with 3rd party APIs.  I have done proje…"
Jun 20
TJ @ jQueryHelp replied to Vivian Bai's discussion Is there an option to like or upvote replies?
"One client I installed this for, needed a way to track how many likes were coming in, and there wer…"
Jun 20
TJ @ jQueryHelp replied to Vivian Bai's discussion Keep Members Anonymous
"Hi Vivian,
I had created soemthing like this for a client several years ago, for a Ning 2 site.  Me…"
Jun 20
Vivian Bai replied to Vivian Bai's discussion Is there an option to like or upvote replies?
"Hi TJ, this is awesome! I'm about to have the site designed. Will contact you shortly. Do you have…"
Jun 20
TJ @ jQueryHelp replied to Shelli Poole's discussion Is there a back door to managing blogs/discussions in bulk?
"Hi Shelli,
It's kind of a pain to do this manually!  How many are you looking to delete, and are yo…"
Jun 20
More…