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

NC for Hire

Add Logo to Ning Bar - (collaborative efforts of Jen and Kris)

 

Kris of Bikerspost.com wrote tonight and asked how to add his logo to his NingBar. Kris is a Design Client, and a VIP Member of JenSocial. So, I was happy to share this code with him. Ironically I had already written the code for the new design for JenSocial - - coming soon! We discussed behind the scenes and decided we'd share with everyone.

 

Important Note: If you are using the tip for adding the SignIn Box links to your NingBar, this will not format correctly.

 

Instructions:

  • You will need to size your logo to no more than 30-60 pixels in height. Kris has sized his logo to: 300px width by 52px height.
  • Upload your image via a blog or File Manager.
  • Copy/paste the image URL.
  • Edit the code below, and add your image URL.
  • Edit the #xn_bar height to a few pixels more than the height of your logo. See code below within the <style> tag.
  • Add ALL of the code to your Custom Code Box via: My Network/Tools/Custom Code
  • You will probably need to tweak the padding. Kris added some extra padding to top, like this: <img style="float:left!important;padding-left:10px;padding-top:5px;">

 

<style>
#xn_bar {
 height:60px!important;
}
</style>

<script type="text/javascript">
if (typeof(x$) != 'undefined') {
x$("#xn_bar #xn_bar_menu").prepend('<img style="float:left!important;padding-left:10px;" src="yourimageurl">');
}
else {
}
</script>

 

Kris also needed the following CSS for his Ning Bar. This will vary per theme. If you use the CSS below, add to Advanced CSS.

#xn_bar {
margin: 0 auto;
width: 1002px !important;
}

 

Be sure to see the awesome tip Kris offered to add logo to your SignIn Box.

 

Have fun!

Jen and Kris

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

    Fantastic Jen. Thanks for sharing it.

    Best Wishes

    Bernard

    • NC for Hire

      Glad you like it. I had to edit a few things, so the tip has changed a little.

      Best Regards,

      Jen

  • This reply was deleted.
  • plus 1

  • Great stuff guys. Again.

  • Awesome tip! Thanks BUNCHES Jen and Kris!

  • NC for Hire

    Hi Everyone!

    Happy you all like the tip!

    =)

  • Great stuff! Quick question though, is there any way to make the logo clickable? So that it would always take the user back to the homepage (in same way it usually works with the header logo).

    Thanks!

    • NC for Hire

      You should be able to add a hyperlink. Try this code:

      <script type="text/javascript">
      if (typeof(x$) != 'undefined') {
      x$("#xn_bar #xn_bar_menu").prepend('<a href="http://www.yoursite.com"><img style="float:left!important;padding-left:10px;" src="yourimageurl"></a>');
      }
      else {
      }
      </script>

      Best,

      Jen

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

Claes-Olav Bohman replied to Ning Support's discussion
New feature added into Group Permissions
"Ican´t watch videos in our network! Why????"
Nov 7
Eva liked Ning Support's discussion Security Update: We've Patched Two Critical PHP Vulnerabilities
Oct 31
Regovex Consulting updated their profile
Oct 26
Ning Support posted a discussion
Two critical vulnerabilities were recently disclosed in PHP, the software our platform runs on:…
Oct 22
Eva liked ⚡JFarrow⌁'s discussion Ning for Dummies - Interesting
Sep 26
Sourceeezy updated their profile
Sep 25
⚡JFarrow⌁ replied to Ning Support's discussion
New feature added into Group Permissions
"Was going to upload a screenshot but the Upload Image functions no longer work"
Sep 11
Scott Bishop posted a discussion
Is there any way to allow new members waiting to be "Approved" to upload content during their wait…
Sep 6
John de Vinderr updated their profile
Aug 27
Brudavant LLC updated their profile
Aug 11
Scott Bishop posted a discussion
I notice that that the entiredy of Ning was down all day today, "due to maintenance". Was/is there…
Aug 6
1Win Pakistan updated their profile
Jul 18
More…

Meanwhile, you can check our social media channels