Hello NC!
If you have a floating Ning bar, you will love this. This code will give your Ning bar a shadow effect so that it looks like its actually floating above your network's content, not just scraping your content when it follows your screen.
Add this to your Advanced CSS:
#xn_bar {
position: fixed !important;
top: 0;
left: 0;
z-index: 9999;
bottom: 0;
-moz-box-shadow: 3px 3px 8px #dadada;
-webkit-box-shadow: 3px 3px 8px
#4d4d4d;
box-shadow: 3px 3px 8px
#4d4d4d;
padding-top: 0;
}
Enjoy the hover!
Permalink Reply by Marcus Morais on July 11, 2012 at 9:52pm Great!
Thanks a lot!
BTW, anyone know why YouTube videos are on ning bar, even though the z-index has been defined as 9999?
There are how to fix this?
Permalink Reply by Marcus Morais on July 11, 2012 at 10:01pm One detail: in IE and Firefox the video is below the bar, only in Google Chrome is over.
Permalink Reply by Alessandro on July 13, 2012 at 5:47pm Worked fine for my network, tested on Safari, Firefox and Chrome.
Maybe due that I don't use flash content as Glenn alerted.
Permalink Reply by Glenn Lynch on July 12, 2012 at 12:24pm This happens in chrome always when there is adobe flash content on your network. It happens to me 2! :(
Permalink Reply by Alessandro on July 13, 2012 at 5:43pm Nice, code added to my site! Thanks for sharing it!
Permalink Reply by Luciano Costa on July 20, 2012 at 12:33am what's a floating ning bar?
Permalink Reply by Alessandro on July 20, 2012 at 4:29am
Permalink Reply by Luciano Costa on July 20, 2012 at 7:45am Thank you Alessandro, but I don't get it. Isn't the ning bar already positioned or floating at the top? Isn't that standard? Take a look at my site and let me know. www.socalsocialclub.com
Permalink Reply by Alessandro on July 22, 2012 at 6:03am Yes, the position of Nig bar at top is standard. The tip of this post from Glenn Lynch with the code he posted is to have a shadow at the bottom of this Ning bar. I noticed your site has a black background, maybe the reason that you didn't notice the shadow.
You may trying working with other colors, changing the hex code #4d4d4d to another one, but I'm not sure you will get a cool effect with other colors.
Permalink Reply by Jorge Nava on July 21, 2012 at 9:55pm I've got two questions:
Thank you!
Permalink Reply by Alessandro on July 22, 2012 at 6:26am 1. I used the following tip to move the account box to the floating bar:
http://creators.ning.com/forum/topics/add-member-account-box-links-...
There's also this other interesting tip to put links in the floating bar:
http://creators.ning.com/forum/topics/add-links-to-ning-bar-1
2. Maybe you'll be able to adjust the bar position changing one of these values from the code of this post:
top: 0;
bottom: 0;
padding-top: 0;
Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
Troy D. Bertrand replied to PeruCool's discussion 'Alternatives to Ning social network'© 2013 Created by Ning.
