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

NC for Hire

I've been cleaning my Ning Network up for our 16th Birthday celebration as a community and I came across a great trick for moving your primary navigation up into the account bar.

Move Ning Navigation


Simply add the following to your custom code bottom section near the top of other codes..

<script>
// movenav to before ningbar
x$(document).ready(function() {
x$('nav.header-nav.navbar').insertAfter('div.dashboardBarWrap');
});
</script>

 

I am searching today for a way to make this script load faster so there isn't a 1 second lag but there you have it.  Perhaps Bizz will know a way..

Let me know if you have any questions or need help with your ning community.

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

  • NC for Hire

    Have you tried using CSS to move the bar?

    • NC for Hire

      Yes but in order to make this happen i needed jquery

       

  • Justin, note that the dashboardBarWrap only exists for the admin and not normal members so you would either have to move it before the ningbar-userLinks.linkbar then might a bit of css to align it or other than that use the design studio to have it sit below the bar

    10978396478?profile=RESIZE_930x

    • NC for Hire

      great suggestion... however can't seem to get that to work at all.   Also would love to figure out a way to have this script run when the page loads...ill keep playing with it... good to see you Bizz!

       

      • It looks like in your code there is a period missing before the ningbar-userLinks, it should be like this

        .ningbar-userLinks.linkbar

        • NC for Hire

          any ideas on how to get the logo up into the bar as well before the navigation?

          • You could but then the logo would have to be small as the bar would have to become big if you wanted a big logo which would then give you a big black bar at the top. The alternative would be to keep the Nav and logo in the header where it is as normal then you could just move the Account bar stuff into that section instead.

  • NC for Hire

    Bizz ⚡JFarrow⌁  

    now it's perfect , work amazing,they use this method with only css for old themes and 2.0, i want to test only css for 3.0
    • NC for Hire

      yes it is now perfect and with the added bonus of a sticky navigation when fixing the account bar at the top.. thanks for the assist Bizz!

      10999300877?profile=RESIZE_930x

       

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

LUIS NASSIF and Asher Lukx are now friends
5 hours ago
Joven updated their profile photo
Sunday
⚡JFarrow⌁ updated their profile photo
Saturday
Bizz replied to ⚡JFarrow⌁'s discussion
A Simple Way to Move Navigation Up Into Account Bar
"You could but then the logo would have to be small as the bar would have to become big if you…"
Friday
⚡JFarrow⌁ replied to Barney Lodge's discussion
Group Creation by Script
"Yes you can if you don't mind wrestling with the API...  ill send you my contact info... i have a…"
Mar 22
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
A Simple Way to Move Navigation Up Into Account Bar
"any ideas on how to get the logo up into the bar as well before the navigation?"
Mar 22
Barney Lodge updated their profile
Mar 21
Barney Lodge updated their profile photo
Mar 21
ψψ ⚜ LuciStG ⚜ψψ updated their profile
Mar 21
ψψ ⚜ LuciStG ⚜ψψ replied to Annabel Gregory's discussion
Email address capture
"You could ask members a profile question. I do this as well just go into settings > members >…"
Mar 21
ψψ ⚜ LuciStG ⚜ψψ replied to Barney Lodge's discussion
Group Creation by Script
"As far as I Know you can not create groups on ning using a script. You have to create them one at a…"
Mar 21
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
A Simple Way to Move Navigation Up Into Account Bar
"yes it is now perfect and with the added bonus of a sticky navigation when fixing the account bar…"
Mar 17
More…

Meanwhile, you can check our social media channels