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

kostasgr liked Alex - Rosas † Negras's discussion I managed to add group video calling, if anyone is interested I will post the codes
yesterday
Jords updated their profile
yesterday
Steve C replied to ⚡JFarrow⌁'s discussion
What is going on with Ning? What Do We have to Look Forward To?
"Ning is based in California but operations are in Kyiv, Ukraine. Due to the war, operations may…"
Sunday
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"⚡JFarrow⌁  
I'm working on the stories and I don't have time to work on the video call you just…"
Jun 28
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"if you want I'll give you the codes privately and we'll see if the two of us can make it perfect"
Jun 27
Eva and ⚡JFarrow⌁ are now friends
NC for Hire
Jun 25
⚡JFarrow⌁ replied to Eva's discussion
For three days now, my networks, Ning 2.0 and Ning 3.0, are incorrectly visible
"Ug... thats not right..  ill send you my phone number in messages and we'll talk it over."
Jun 24
Eva replied to Eva's discussion
Help Help Help
" I just started a test network on Ning. I'm having the same problems there too! No photos, in…"
Jun 21
Eva posted a discussion
Jun 21
Eva posted a discussion
For three days now, my two networks, Ning 2.0 and Ning 3.0, have been displayed incorrectly, they…
Jun 21
⚡JFarrow⌁ replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"looks interesting"
Jun 20
⚡JFarrow⌁ updated their profile photo
Jun 16
More…

Meanwhile, you can check our social media channels