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

Forum

Hello all!

NEW FEATURE from Ning, wooo hoooooo!

I wanted to see what would happen if I put a style tag in the new Member Customizable HTML Boxes for Profile Pages and I found that if I add it with line breaks it does not work, but if I run it all on the same line, IT WORKS!

I added this, in HTML Editor mode:

<style type="text/css">.photoListPage { background-color: blue; }#MC_Title { background-color: #EEE; color: #444; font-size: 200%; padding: 0.5em; margin: 0.5em auto; }</style>
<div id="MC_Wrapper">
<div id="MC_Title">Member Customizable Box</div>
<div id="MC_Body">body area here...</div>
</div>

to my Member Customizable HTML Box (MC Box for short) and got this:

As you can see, I was able to style not only elements INSIDE the MC Box but also the background of the Photos module which is outside of the box.

I first tried it with normal formatting; one style rule per line, but that did NOT work:

<style type="text/css">
.photoListPage { background-color: blue; }
#MC_Title { background-color: #EEE; color: #444; font-size: 200%; padding: 0.5em; margin: 0.5em auto; }
</style>
<div id="MC_Wrapper">
<div id="MC_Title">Member Customizable Box</div>
<div id="MC_Body">body area here...</div>
</div>

So try this yourself if you want, but remember to put the style code all on one line (which the editor will wrap).

Best wishes!

TJ

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

Join Ning Creators Network

Email me when people reply –

Replies

  • Good job TJ.  So nice to see a new suggestion posted instead of errors and complaints.  Just praying this continues.  Have a great weekend!

    • Thanks!

      I hope you have a great weekend too!  I am inland in the Carolinas so I am seeing lots of rain and wind outside my office window at the moment, but nothing bad.  My thoughts and prayers go out to all those affected.

      I think Ning may finally come out with the API for Ning 3 soon, which will be a help for developers, like me, who want to add even more functionality to Ning.  I have been busy over the last 3 years adding in features Ning left out of 3.0, like Search for private sites, expanded Likes abilities, etc. AND backing up Ning 3 sites so people can have control over their own data!  Ning originally said the backup ability for Ning 3 sites would be based on the API so if that comes out, then the backup should be next.

      • Backing up a 3.0 would be such a relief.  I get the heebee jeebies every time the site goes down.  A backup would ease those fears greatly.

      • This is great to know TJ. I'm using it for my CSS but remember just like Ning 2.0 only administrators and creators can add CSS to the text box. You might want to add that information to your tip. :) You have a great day. :)

        • Thanks George, I just got to test it on my site, signed in as a regular member, and the CSS doesn't work.  So yes, looks like this tip is just for Admin, which isn't that helpful :P  An admin could put CSS in the Design Studio or Custom Code box.

  • NC for Hire

    nice tip TJ!

This reply was deleted.

Search the Creators Network

Latest Activity

Constantine is now a member of Ning Creators Network
2 hours ago
Kyryl_Ning_Support replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi Philip,
We have replied to you in private message, as the reply contain some personal informatio…"
3 hours ago
Kyryl_Ning_Support replied to Hugh's discussion Support Tickets Closed Even if Error not Fixed
"Hi Hugh,
We do apologise for the inconveniences, the system could close your ticket automatically.…"
3 hours ago
Kyryl_Ning_Support replied to Maureen Jansen's discussion Message group members
"Hi there,
To send the message to all members of the group please go to the Group and Press the Butt…"
4 hours ago
Saurabh replied to Saurabh's discussion Home page showing error
"The error again started"
12 hours ago
Jungla replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"How can you do new stuff, when you can't even fix old errors? My website, today gives all day Our a…"
13 hours ago
Philip Voice replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Has this update affected networks?

Can you please check landscapejuicenetwork.com as it's been dow…"
15 hours ago
Kos replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Moi?  *lol*  Yeah, once I'm 'in' something, I tend to stick around forever 'til you show me the exi…"
15 hours ago
Pat Howlett replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Kos, you are certainly one who kept me coming back :]
I hope to have something worth sharing soon. "
15 hours ago
Kos replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Great to see an old face return!  Welcome back Pat :)"
16 hours ago
⚡JFarrow⌁ replied to shironala's discussion Hi can somone help me with the css problem ?
"i see that you have your x_body padding set at  padding-top: 154px; which may be the reason for you…"
16 hours ago
Thisisbully replied to Bizz ( John )'s discussion My New Events Notification Messages
"Nice"
17 hours ago
shironala replied to shironala's discussion Hi can somone help me with the css problem ?
""
17 hours ago
Pat Howlett replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"I'm back :]
Backstory...I became an NC back in 2006 and ran multiple local business networks (at on…"
18 hours ago
Kyryl_Ning_Support replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi there,
Unfortunately, the CAPTCHA could prevent sign ups from bots only, that is making the life…"
19 hours ago
Traddie replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi Guys. Sorry to disappoint you but I have the CAPTCHA enabled and keep changing the quiz question…"
20 hours ago
Ning via Facebook

CAPTCHA - No bots and spammy content As of now you can easily prevent spammy and bots’…

Mike Collins replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Sorry John been away and just catching up - the link says page cannot be found "
yesterday
Naveen Jain, Susana, JORGE AVALOS SORIA and 3 more joined Ning Creators Network
yesterday
Thisisbully replied to Kos's discussion Ning Get Your Servers Back Up
"on mobile"
yesterday
More…