Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

I really should keep this a secret, but this just may be interesting enough to piledrive me right into the Superstar category, so I'll share it (hint hint)...I am going to show you how to add a new background to groups when using the new design studio.  I see a couple of NCs are frustrated trying to find this answer and even Eric says its not possible, but here is the proof of concept that yes you can change the background of a group using CSS.   Its a hack, so as with all hacks, use it at your own risk..

(btw..i know superstars is not a contest, but it inspired me to share nonetheless)

For Those NCs Who Previously Changed Groups Backgrounds

First, for those of you out there who had successully managed to change backgrounds of groups using the old editor, you remember that by adding a style sheet linked through the Groups description text module, you could change the background.  The CSS of that stylesheet looked something like this:

545922?profile=RESIZE_1024x1024and gave you something nifty like this:

545970?profile=RESIZE_480x480

 

NOTE:  If you previously added backgrounds to groups then thought they were lost when you converted to new Ning Design Studio, you were mistaken.  Simply go back to a group that you previously styles and click edit on the text module, look at HTML editor view and you'll see your stylesheet is still there.  Open it up in a new tab and simply replace the first "body" selector with the following:

.xg_theme #xg_body

Re-upload that stylesheet to the textbox and replace the exisiting style url with the new one and call it good.

This will not change the external canvas image as before.  The old way just weighed pages down too much, i feel.  Instead,What it will do is replace the internal canvas image so that the background images behind the modules changes like so:

546034?profile=original

For Those Who Have Never Changed Backgrounds for Groups

The idea here is to inject a CSS style sheet into the group page which will over-ride all styles declared for that page.  How do we do this?  Create a style sheet using Notepad similar to the one I have attached below and replace the loooong image file URL with your own image file that you uploaded through any text box, save the file as GROUPNAME.css 

546072?profile=RESIZE_1024x1024

Now go to the group which you hope to change the background of and switch to HTML editor view, then using the file upload function (paperclip), upload that css file you just made, copy the looooong URL of the file and [HERE's A TRICK= press CANCEL]  NOW...paste that URL into the text box in HTML view.   Finally, you add the following code to the front and back (surrounding) that URL.

<link rel="stylesheet" type="text/css" href="https://api.ning.com/files/YOURLOOOOOOOOOOOOOONGURL/YOURSTYLESHEET.css" />

 

It will look similar to this when you're done adding the linked stylesheet within the text module of a group:

546124?profile=originalSee an example finished group with styled background here on my land surveyors support network- Aerial Photogrammetry Group.

546183?profile=original

BONUS TIP:  If you want to additionally style the title of the group, simply add another CSS selector to the style sheet for the h1 property link so, changing it according to your design, of course:

h1             {text-align: left;
                margin-bottom:30px
    font-family: Helvetica,arial,serif;
    font-size: 35px; text-transform: none;font-weight:bold;
    color: #FFFFFF;
                 }

 

 

 

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Great! Thanks for the tip!

    I did a small change in the css file to better fit to the design of my network, may be useful for someone. The first change in bold to put it in the main background and the second one to center horizontally and space for the menu:

    .xg_theme {
    border: 0px double #001c5a;
    background-image: url(https://storage.ning.com/topology/rest/1.0/file/get/3213781?profile=...);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position:50% 80px;
    background-attachment: fixed;
    }


  • NC for Hire

    Quick tip.  i do this a little different now.  I host my css files using a public dropbox folder with two folders inside it for CSS and IMAGES..  i host the background images inside the IMAGES folder and the css files inside the CSS folder..  This way if you choose to change the background image you can simply replace it with a image with same file name and you effectively be able to change the background image without having to change the CSS file, in other words, the background will change without having to go back to the group and changing the HTML in the text box.... make sense?

    the tutorial for using Dropbox to host external files can be found here

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Birthday Gift Network updated their profile
5 hours ago
Birthday Gift Network updated their profile photo
5 hours ago
Paul Corona replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"NING support is useless anymore...I have respnded three times asking questins to a message they…"
Jan 15
Alex - Rosas † Negras posted a discussion
due to personal problems I have not been online anymore, I apologize so much and I am happy to be…
Jan 14
Alex - Rosas † Negras replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"IL PROBLEMA È SEMPRE LO STESSO, NING GLI OPERATORI... DEVONO ELIMINARE I COOKIE SUL VOSTRO SITO"
Jan 14
Vlada replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"I'm no IT expert by any means, but out of curiosity have you tried entering the chat room from the…"
Jan 8
Vlada replied to Eva Libre's discussion
Update, Merry Christmas
"Then add the recent price hike email that Ning has notified to be taking effect soon, I'm not…"
Jan 8
Kos posted a discussion
In November we began to notice Chat "freezing up" and when we would refresh the page, it would…
Dec 27, 2024
Eva Libre posted a discussion
UpdateMerry ChristmasToday I woke up totally frustrated and determined to do something.At the end…
Dec 26, 2024
Eva Libre liked Eva Libre's discussion Ning 3.0 is antisocial!
Dec 25, 2024
Eva Libre updated their profile
Dec 25, 2024
Eva Libre replied to Eva Libre's discussion
Ning 3.0 is antisocial!
"Update
Merry Christmas
Today I woke up totally frustrated and determined to do something.
At the…"
Dec 25, 2024
More…

Meanwhile, you can check our social media channels