Hi all NCs,

Make your Ning bar follow by fixing it in its position. Similar to the sites here:

http://www.factface.me/

http://www.iyoume.net/

Add this to your CSS Code

#xn_bar { position: fixed !important; top:0;left:0; z-index: 9999; }

 


Update:If these changes made your header or ads above overlap or cutoff, apply some top margin to your header CSS:

#xg_head { margin-top:100px !important; }

 

If you have a layout that has the navigation tabs above header..

#xg_navigation { margin-top:100px !important; }

 

or if you have an ad above header box

.xj_ad_above_header { margin-top: 100px !important; }

 

Adjust the margin top value pixel (100px) accordingly..

cheers.

Tags: bar, fixed, floating, ning, search

Views: 1761

Reply to This

Replies to This Discussion

Nice one!

Thanks Eric!

Hey ron, great tip but for some reason I dont get anything when I place that code into the advanced css section of my design studio, Id really like to have this navigation bar! Any help would be appreciated

Thanks Armani, I checked your site and looks like it's working now--

Great...

-------------------------------------------------

Please consider the environment before printing this content.




cheers Bernard.

Swweet!!

hey, glad you like this Jords.

It's a great tip! Saw it done with script once but seeing this is css that's even better =]

Thanks and I agree with you. Technically, this can really be done by pure CSS. We only use JS code when needed and if CSS cannot pull it off ;-)

have a great weekend.

I love this tip, the only problem is it makes the Admin "Edit" disappear on my top page Ad box, and then when I sign out, it bumps my ads all the way up against the Ning bar. If I could figure those 2 issues out this will be perfect for me. If anyone has suggestions please let me know.

Yes, I loved this too, but it makes the space between the bar and the header disappear.

RSS

Latest Activity

Jordon McGee (Jords) replied to soaringeagle's discussion '3.0 feature request'
"+1"
1 hour ago

NC for Hire
JFarrow replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"apparently ning strips that.."
1 hour ago
Chris replied to soaringeagle's discussion '3.0 feature request'
"This is a standard feature of most forums, and very important! Hopefully it will be implemented."
1 hour ago
Ambroise replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"I see nothing between line "compared to this:" and lien "When the user hits the play…"
1 hour ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Allison would you please make sure that Phoron's new link gets picked up "
2 hours ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Phoron's new live link  http://lifesmagickalweave.ning.com"
2 hours ago
Kos replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"I was able to do it but you're right; I wish they allowed for more characters in the Tab Name.…"
3 hours ago
CPA replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"Thanks Sho, I'm going to try this!"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service