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

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

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 "
54 minutes ago
Harly replied to Ivy Williams's discussion Ning Roleplay Sites
2 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 there,
We are sorry for this. Previously we have been fixing the search on each network separate…"
4 hours ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi there,
We are glad to know that you have been excited with this news. I have sent you the privat…"
5 hours ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi Matt,
Yes, this post is regarding 3.0 platform only.
Regards,
Ning team."
5 hours ago
Lj Cange replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Exciting news..... I will be happy to assist!"
6 hours ago
Matt replied to Kyryl_Ning_Support's discussion Paid Access demo version
"So Ning 2 paid access will not be updated?"
7 hours ago
Dr. Krishna Kumari Challa replied to Dr. Krishna Kumari Challa's discussion I am unable to find discussions on my network when I search. Any solutions?
"Still the problem is not resolved!"
7 hours ago
Matt replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Is this only for Ning 3?"
8 hours ago
Hugh replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"I'd like to get some reassurance that support will be upgraded. I can't think of a time recently wh…"
11 hours ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi Philip,
We are glad to hear that you are willing to help with the beta test, and it will be the…"
18 hours ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi there,
Thanks for your endless support! We have sent you the private message regarding joining t…"
18 hours ago
Kyryl_Ning_Support replied to Aubrey Williams's discussion Paid Access 2017
"Hi there!
We do appreciate your feedback, yes we know that based on our history the people wouldn't…"
19 hours ago
Ning via Facebook

#unitewithNING You`re one click away from the place where all questions about #NING find their…

Kos replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Cannot express how happy I am to see Ning growing and expanding once again. It's been a long three…"
20 hours ago
Philip Voice replied to Aubrey Williams's discussion Paid Access 2017
"Thanks. I've applied to help evaluate and I'll make a decision about how I implement paid access in…"
22 hours ago
Philip Voice replied to Kyryl_Ning_Support's discussion Paid Access demo version
"I'm happy help"
22 hours ago
kevin carrasco is now a member of Ning Creators Social Network
yesterday
Kyryl_Ning_Support replied to Aubrey Williams's discussion Paid Access 2017
"Hi Philip,
It's not an issue if you wish to continue to use the other processor for the payments we…"
yesterday
Ning via Facebook

#inspirewithNING More talks, inspiration and success stories on #NING platform! Create your…

More…