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

Kevin Acosta replied to Kevin Acosta's discussion Photo uploads being auto resized
"Well, even the FULL SIZE 38.5" x 36" poster that I attache was scaled down, so now that doesn't eve…"
49 minutes ago
Kyryl_Ning_Support replied to Aubrey Williams's discussion Paid Access 2017
"Hi there,
We plan to initially release the PaidAccess for Ning 3.0 with PayPal and credit card supp…"
8 hours ago
Kyryl_Ning_Support replied to Aubrey Williams's discussion Blank Space / Columns On Home Page
"Hi there!
Could you please share the screenshot with us and mark the blank spaces you are talking a…"
12 hours ago
Kyryl_Ning_Support replied to Naveen Jain's discussion Wiki like functionality in Ning
"Hi there!
Unfortunately, we don't have the module on our platform that would be working in the way…"
13 hours ago
Kyryl_Ning_Support replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"Hi there!
Thanks for the question.
No, you don't have to create the new network each time the new f…"
13 hours ago
Matt replied to Aubrey Williams's discussion Paid Access 2017
"Good point, Stripe is awesome. "
13 hours ago
ASDKFljflkj is now a member of Ning Creators Social Network
13 hours ago
Alliance replied to Alliance's discussion Profile members on MY Page
"Thanks so much for this help things look sooooo much better now."
14 hours ago
Bizz ( John ) replied to Alliance's discussion Profile members on MY Page
"You could also try this which I have on my site just now for testing. This will adjust the avatar s…"
yesterday
Bizz ( John ) replied to Alliance's discussion Profile members on MY Page
"As matrix items are shared with other parts of the network if you add that then this would affect t…"
yesterday
Stanislav replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"Hi, I'm waiting you to implement all new features to the Network in Q2 and want to start my network…"
yesterday
Alliance replied to Alliance's discussion Profile members on MY Page
"Thank you 
Right now I have a big space between each item. Following that same logic, the container…"
yesterday
Bizz ( John ) replied to Alliance's discussion Profile members on MY Page
"You can adjust the avatar sizes with this, just change the width to the size required.
.section-mem…"
Saturday
⚡JFarrow⌁ replied to Aubrey Williams's discussion Blank Space / Columns On Home Page
"You're welcome"
Saturday
Alliance replied to Alliance's discussion Profile members on MY Page
"I cant believe no one has this issue but me and have not solved this."
Saturday
George Swann replied to Naveen Jain's discussion Security error when accessing Ning network
"Everyone still has to wait until Ning updates their platform to be https/ssl compatible.  IMHO shou…"
Saturday
Aubrey Williams replied to Aubrey Williams's discussion Blank Space / Columns On Home Page
"Due diligence doesn't = nervous. Paid Access has not been a workaround for over three years because…"
Saturday
Naveen Jain replied to Aubrey Williams's discussion Paid Access 2017
"I just added stripe payment using formget.com."
Saturday
⚡JFarrow⌁ replied to Aubrey Williams's discussion Blank Space / Columns On Home Page
"Quite frankly you are nervous about the wrong things of what you say is true. Blank space can be re…"
Saturday
Aubrey Williams replied to Aubrey Williams's discussion Blank Space / Columns On Home Page
"I don't have a Ning network. I had one about eight years ago and I also remember the same blank spa…"
Saturday
More…