Hello Creators. I am looking to put my navigation tabs into my ningbar. I sort of understand kind of what I need to do, by previous codes that I'm trying to learn from. However, I can't figure it out via trial and error.

If you would like to view my site, http://addictapic.com and note the top bar/ning bar (yellow)

I want my nav tabs at the bottom of the yellow bar (on the bar, but last thing) centered and not interrupting what's currently there. (I do understand I'd have to make the ning bar wider.)

Can anyone help me do this?
Thanks everyone! Take Care!
Damien.

Tags: bar, nav, navigation tabs in ningbar, tabs, top

Views: 214

Reply to This

Replies to This Discussion

div#xg_navigation.xj_navigation

{

position: absolute;

top: 0px;

left:50%;

margin-left: -488px;

z-index: 89!important; /*(you already had this)*/

}

#xj_before_content

{

z-index: 88; /*a number lower than the z-index on your nav menu*/

position: absolute;

}

Tweak the "top" style for the nav bar to position it where you want it vertically, I see you've got some graphics under the buttons that might need adjusted to fit them on the top bar.

You can probably adjust the size of the xj_before_content by setting "height" as whatever you want.

no go

This code will do exactly what you want :-)

div#xg_navigation{
position: fixed!important;
top: 0px!important;
left:84px!important;
z-index: 899999999!important;
width:auto!important;
max-width: 1031px!important;
min-width: 531px!important;}

Your width is set to auto you also have a maximum and minimum width.  Here's what it looks like on your network the last picture the pixel settings on my computer is set to 800x600 pixels..

800x600 pixels on this picture below.  See the width is set to auto lol :)

I'm going to do this right now!! Thanks George!! :)

the reason this will work for your site is because you're using my old styled and animated tabs. so you already have all the codes to make The sub tabs work fixed :-) it really made writing the code for you easy

Lol, I like to make things easy! :) ha ha, please view my site as it sits now, ASAP, nav is disabled for members ....

the navigation are hiding underneath my ningbar, they didn't go "on" it.

http://addictapic.com

this code should not affect your header/masthead at all

The nav links ARE attached/fixed to the ningbar, but underneath... tried moving the code to the top of my custom code box, thinking maybe it's an order of operations thing.... not the case though...

I just went to your site something is overwriting the z index.

you should place the code underneath everything else in your custom code box.  And make sure you added the styles tags.  And also put a copy of it in your ad box in the footer.  Hopefully that will make it so nothing will override the z index

<style>

div#xg_navigation{
position: fixed!important;
top: 0px!important;
left:84px!important;
z-index: 899999999!important;
width:auto!important;
max-width: 1031px!important;
min-width: 531px!important;}

div#xg_navigation UL {
    z-index: 899999999 !important;}

</style>

No go.

The z index, yes that is what it was called.
TJ had issues with this as well, and had to add some code...

I'm going to resend you my custom code, so that you can see what TJ and I had to do last night...I'm no good at explaining what he did. lol

Your Ningbar is overwriting it LOL
this will fix it put it at the bottom of your NC custom code box.
<style>
#xn_bar {
  z-index: 88;}
</style>

and remove this

div#xg_navigation UL {
    z-index: 899999999 !important;}

Yup, that did it! They aren't centered though, but I can do that with the "left padding" right?

RSS

Latest Activity

Ambroise favorited Eric Suesz's page Ning 3.0 Roadmap
31 minutes ago
Ambroise commented on kid k's group 'Ning French Networks'
"Dans le menu, il y a marqué Ning 3.0 lol"
33 minutes ago
Jean-Christophe Fa(u)dot commented on kid k's group 'Ning French Networks'
"En ce qui me concerne, c'est à peine si je sais que Ning 3 existe ou va exister !…"
2 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, here is the code you need to put into your bottom custom code box in the design center…"
3 hours ago
Kos replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"ahhh now that makes sense.  Thanks for clarifying :)"
4 hours ago
Strumelia replied to FedMedic's discussion '3.0 Why is all my text centered?'
"Thanks so much, and please DO let me know what their support team is like, when you first make use…"
5 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, I'll try to post something more logical with screen shots. But, you'll see -…"
5 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Kos, the reason for the code is to have elements only display on the home page. By default, Ning…"
5 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service