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: 211

Reply to This

Replies to This Discussion

  You just have too many tabs for that but you found the code at the bottom of your NC custom code box.  A lot of those tabs could go into sub tabs which will make it look all whole lot better.  You have a great day Scott

WHAT!! I was right!! WTF!!

HA HA, that made my day!

This ends up underneath of my ningbar. Doesn't go on top...

I sent you my code box again to your email George.

I might note that this is one of the reasons it's almost always best to avoid using !important in your styles where possible. 

CSS "cascades" which means that styles overwrite previous styles. 

if you have style.css and style1.css like this:

/*style.css*/
#widget { background: #000000}

/*style1.css*/
#widget { background: #ffffff}

So if you have in your head: 

<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="style1.css" />
<style>
#widget { background: #ff0000}
</style>

And your body:

<body>
<div id="widget" style="background:#00ff00;">
<p>some text</p>
</div>

This style for widget cascades down - first it checks style.css, okay make it black. next it checks style1.css - okay, make it white. Then it checks the <style> tag in your head - okay make it red. Then last it checks the inline style and makes #widget green. This is the normal order of how styles go. Your "Advanced CSS" styles in Ning go AFTER their default styles. (think of style.css as ning's styles, and style1.css as your "Advanced CSS" styles. 

The problem with using !important is that it makes the browser ignore the rest of the styles that should overwrite it later but don't. This can make for some annoying debugging, especially if you aren't familiar with firebug/etc. 

!important is not a sledge hammer to be thrown at your CSS because something isn't working properly. If you are setting a style and it's not taking, chances are you aren't being specific enough in your selector, i.e. ning is using div#xg_body div#xg_navigation.navigation-content and you are trying to override their style with #xg_navigation. 

If you just throw up your hands and put in the !important instead of making your selector more specific or figuring out why the style isn't cascading as you believe it should, it makes for much harder modifications down the road after you've forgotten all about the little !important 500 lines back in your CSS that's ruining everything you're now trying to do. 

I'm so new to CSS. lol. This is excellent information though, I had no idea really. Thank you for this post!

Ok, it's all done, perfect. my problem, that stupid swirly line. It has just GOT to go!!!

I'll post a new thread on it.

go look back at the post here I gave you a code to remove the swirly line

looking good bro, one suggestion though...I would make the default color of the tabs bllck and leave the text of the yellow to match your network...right now they remind of me a "tonal" polo shirt, its like a white polo horse on a white polo shirt lol cant appreciate the little man riding the horse! lol but just a suggestion, otherwise it looks great...even with the "swirly" line :-)

I absolutely agree! :) Thank you Armani, the tab color codes are on my stylesheet, I'm opening Dreamweaver right now to edit, I'll post here when it's done so that you may see it finished completely. :)

Glad you like it, I know I do!! (So will my members, now that navigation is flawless anywhere you are in my network!)

Have a look! :)

George, do you have a quick code I can throw into my stylesheet, to make the background of the tabs black? Not behind the tabs, but inside each tab. I want to keep the nav text yellow, and black tabs, with yellow border. (yellow border is there already)

RSS

Latest Activity

Allison Leahy replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Hi Kos, Checked this out in Chrome and it looks pretty much the same as this screenshot. Having a…"
10 minutes ago
Allison Leahy replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Thanks, Jen. I had hoped the glitch was related to today's release or additional work on the…"
20 minutes ago
Allison Leahy replied to Riccardo Rossini's discussion 'problem in redirecting NING 3.0'
"Hi Riccardo, Appreciate the update here -- and your contribution to the investigation. I'm…"
36 minutes ago
Suzie Nielsen replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Awesome! Great news! his will work out great for me!"
2 hours ago
susana replied to John McDonald's discussion 'Free Ning 3.0 Sandbox Networks'
"bien, lo que yo quiero  saber es a qué sitio debo ir para obtener el Plan Sandbox…"
3 hours ago
Profile IconBrother Richard, susana and 3 other members joined Allison Leahy's group
Thumbnail

The Sandbox

Join The Sandbox to experiment with Ning 3.0 now!The Ning Team will be triaging bug reports and…See More
3 hours ago
Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"No prob. I have been equally frustrated and had to work on other things. But today...we got access…"
3 hours ago
Fire-Tech replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Very very nice! Just the head tag alone makes me smile :) Great job...keep 'em coming!"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service