I would like to centralize my navigation bar in my network, could someone help me? I'm still a noob on design and ning itself... any help or suggestions would be pretty much apreciated. 

http://sierradown.com

Thanks a lot!

Views: 207

Reply to This

Replies to This Discussion

when you say "centralize" what do you mean because Im trying to establish a simple side tab that when you click it all the sub tabs in the ning navigation bar would drop down from it

If I understand you correctly, you want to center your tabs. Yes? If that's what you mean, here is the code:

.xg_theme #xg_navigation ul {
text-align: center;
margin: 0 auto;
}


This can only be used in the Design Studio, and goes in your Advanced CSS box.

text-align: center doesn't do what he is trying to do since his li is a block element and floated left. Two options:

.xg_theme #xg_navigation ul{

margin: 0 auto;

width: 60em; //adjust to fit all of your menu items

}

or 

.xg_theme #xg_navigation ul{

text-align: center;

margin: 0 auto;

}

.xg_theme #xg_navigation li {

float: left; 

margin: 0 3px 0 0;

display: inline-block;

}

I wasn't sure what he meant in the first place, so I'm pleased you were able to figure it out.

Hey ron! These two forms of code you provided will do wat exactly? Im trying to create one main menu tab that would act like a "feedback" tab that you see on some sites where its just a side tab that follows the page as you scroll, I want to make one that I could put all the current tabs and sub tabs I have on my network now under that one tab..ultimately to save space...I also wanted to add pics next to the tabs like a little picture of a house for example the "home" tab....will either of these codes do wat Im looking for?

All these do is take a horizontal menu like this:

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

item 1 | item 2 | item 3                                 


and center the links in the navigation bar:

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

              item 1 | item 2 | item 3                   


What you are trying to do is quite different. I'll send you a PM re. your question.

ah ha! gotcha bud, thanks a lot dude id really like to get this done today if possible lol ive been trying for a while now!

RSS

Latest Activity

DAvid Cordina joined kid k's group
Thumbnail

Ning French Networks

A group for french network creators!See More
14 minutes ago
Violeta replied to Violeta's discussion 'Problemas.. y más problemas.....' in the group Ning Networks en español
"Hola Rosa Maria, ¿ Cómo estás? tanto tiempo! No entiendo si cerraste tus…"
43 minutes ago
Bon replied to Bon's discussion 'Cannot Install a new Background in Classic 2.0'
"As of 6:20am today- the page installed----the code, of course had been left in advanced--this…"
44 minutes ago
Violeta replied to Violeta's discussion 'Problemas.. y más problemas.....' in the group Ning Networks en español
"¿ Cuál ticket Mayra ? ¡No me llegó nada! Hoy mandé otro…"
45 minutes ago

NC for Hire
Elson Tan replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Great news, finally we can add some code to the head!"
1 hour ago
sho allan replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"so NICE!!!"
1 hour ago
James Hawkins replied to John Bizley's discussion 'I have a Question about the Social Channels ( youtube, vimeo )' in the group The Sandbox
"OK, now it's working. I had tried in both FF and  IE10 at the time. Some temporary glitch…"
1 hour ago

NC for Hire
SweetPotato replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Sorry, that was for Kos, not you Diane, although she might have been talking to you and not me, in…"
2 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service