Updated 06-25-2020
All the features of Ning 2.0 with Ning 3.0 responsiveness.. ;) This code has been updated. It'll work on any layout but it works the best with the (A) layouts ( layout A1 - A4)
Tested and working in all newer browsers IE 9, 10, 11 - Firefox - Google Chrome - Safari. for cell phones, Laptops, PCs, Macintosh and yes TVs....
The fullwidth portion of this code also works in IE 7, 8. for Laptops, PCs and TVs...
It's compatible with all operating systems...
Compatible hardware - cell phones, Laptops, PCs, Macintosh and yes TVs....
Most pages will fit on the smallest of cell phones but I recommend a screen resolution of 480 pixels and wider. But like I said most of the network will fit on screen resolutions of 250 pixels and greater.
With this code your N2 will pass Google developers, mobile friendly test, without using Nings mobile app.
click here to see it live on "The Constitutional Conservatives".
If anyone would like help setting this up I'll be more than happy to give you a hand.
GEOCOMs Ning 2.0 Responsive Fullwidth Network v5 part 1
Part 1 goes in your (ad-box above the header) Make sure you press the HTML button before inserting the code.
<meta name="viewport" content="width=device-width, initial-scale=1" ></meta><link rel="stylesheet" type="text/css" href="https://storage.ning.com/topology/rest/1.0/file/get/14338574?profile=original" id="N2_R_F_W_N_v5_P1" ></link>
Part 2 goes in your (custom code box)
The video enhancements come with my "profile text box video mod". To turn the mod on change the ID name in the video enhancement script from this id " id='gframe' " to this id id='MOD_FN' ..
<!-- Start GEOCOMs Ning 2.0 responsive fullwidth network v6 part 2 -->
<script src="https://storage.ning.com/topology/rest/1.0/file/get/6335680082?profile=original" type="text/javascript"></script>
<!-- START Ning 2.0 Video enhancements -->
<script src="https://storage.ning.com/topology/rest/1.0/file/get/6359602678?profile=original" type="text/javascript" id='gframe' class="gf_helper" ></script>
Part 3 goes in your (design studio CSS session)
@media screen and (max-width:1144px) {
DIV#xg.account.external-auth DIV#xg_body,
DIV#xg.account.external-auth .xg_lightborder{
width: 92%!important;
min-width: 100px!important;
max-width: 500px!important;
left:0px!important;
right:0px!important;
margin-left:auto!important;
margin-right:auto!important; } }
@media screen and (max-device-width:1144px) {
DIV#xg.account.external-auth DIV#xg_body,
DIV#xg.account.external-auth .xg_lightborder{
font-size: 34px!important;
line-height: 35px!important; } }
@media screen and (max-width: 760px) {
table.categories p, table.categories ul {
padding-left: 0px!important;
padding: 3px!important;
margin-top: 0px!important;}
TD.xg_lightborder H3{
margin-top: 70px!important;
margin-left: 0px!important;
padding-left: 0px!important; }
BODY TD.xg_lightborder {
padding-right: 0px !important;
padding: 2px !important;
width:45%!important;}
BODY .xg_theme TD.xg_lightborder,
BODY .xg_theme th.xg_lightborder{
width:45%!important;
min-width:45%!important;
max-width:45%!important;}
BODY .body_events_main ul.clist div.tb {
margin-left: 10px;
margin-top: 110px;}
BODY .body_events_main ul.clist li a span.image {
margin-right: 16px !important; } }
/* End Ning 2.0 responsive fullwidth network Part 3 */
Replies
Very nice, George! Dave's site looks great. :-)
Thank you TJ @ jQueryHelp.... There's been a few more updates since the last time you had a look. You can now sign up to the network on small cell phones with screen resolutions of 250 pixels and wider. :-)
Thank you again, TJ, you have a great day :-)
Hello TJ @ jQueryHelp
Since Ning is planning on keeping the 2.0 networks, I figure I'll update this for all themes and layouts. Here's my question. Have you figured out a way to disable Ning's mobile app? I was hoping you had something that would work. It may take me hours or days to figure it out. LOL So please if you do know or have the time to figure it out. It would be much appreciated by me and probably a few other creators. :-) Thank you again for the compliment. Hope you're having a wonderful day.
PS ~~ Sweetpotato, Jen, or any other Creator that has a code or an idea on how to turn off the mobile app, your input would be greatly appreciated. :-)
GC
Hello writer :-)
I know I hate the mobile version as well.
Here in a few weeks I'll have the updated version, I'm completely starting from scratch and using more advanced codes with some tweaks and adjustments. There'll be two versions. The first one will be like the original fullwidth and responsive. The second version will be just for mobile phones and portable devices. I hope everyone likes it :-)
You have a great day :-)
Docu here: http://www.ning.com/blog/2012/07/ning-mobile-a-new-interface-design...
Hope that helps.
SP
Thanks for this info, SP, appreciated!
Thank you SweetPotato, you are awesome!!!! :-)
I'll now be able to test my codes with Google, awesome. Thank you thank you thank you :-)
I did see that section but I was afraid to delete anything. I was looking for an on off switch, like all the other apps. Would've been just my luck to delete them all, go to mobile and see nothing but a blank mobile app with a menu button that has only one tab for desktop view. LOL
Thank you again SweetPotato
GC
Thank you, SP! When I tested George's sites it seemed like it started launching the Ning mobile version, then switched to his, which was confusing and greatly added to load time. By removing the Ning mobile that eliminates that?
Hello Steve, Ning 2 Now passes Google developers mobile friendly test, without using Nings mobile app. ((See image below.)) :) I still have more font work to do with the rest of the network but the homepage is passing... :D These updates are not added to the codes above I'll add them to the new version.
beachcats
You have a great day and thank you for the friends request.
GC
SP, I've removed all the mobile pages as per the opt-out option in the doc. But my mobile visitors are not able to see the main page without logging in. I want the main page to remain viewable to all. And how do I activate the back-out option mentioned in the doc? i.e “Desktop View” for any member or visitor who wants to switch off the mobile version and rely on the standard desktop view? Right now the opt-out option seems to be not working and the Desktop View back-out option is simply unavailable. Halp!