I want to make main bar begin  in the right side not in left side

Views: 635

Replies are closed for this discussion.

Replies to This Discussion

Please provide a URL.

Was sent via Private Message

The page you sent me looks nothing like the screenshot in this discussion. It's not even in English. Am I missing something?

But, let's say it's the same scenario. Here's how you'd fix it:

1) Add text-align: right; to .xg_theme #xg_navigation (you can add as a new block or add to the existing definitions).
2) Remove float: left; on .xg_theme #xg_navigation li. and add display: inline-block;

.xg_theme #xg_navigation {
  text-align: right;
}
.xg_theme #xg_navigation li {
  display: inline-block;
  float: none;
}

I will need to see the bar live To be able to write you the code :-)

I sent you a Private Message

Try this code

#xg_navigation ul, #xg_navigation ul li a {
display: block;
float: right;
}

Bernard that will reorder his links making them show up in reverse order. That is why I suggested what I did. (See above.)

And, actually, your code doesn't do much of anything. Not on his site, at least. On his site, he has float: left on #xg_navigation ul li. But even when you take that off, your code won't work for other reasons.


All he has to do is take float left off of #xg_navigation ul li, add display: inline-block to #xg_navigation ul li, and add text-align: right to #xg_navigation.

Code developed by Ahmed works
But does not work p My Style
This may be the reason

To that under the bar Ning

Good
This code works on some of the Styles
I use this Style

  • ELEGANT

But it does not work

RSS

Latest Activity


NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Hi Allison, I have a Client who needs the Search feature. Any updates? I don't see any Search…"
10 minutes ago

NC for Hire
SweetPotato replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"not consistently for all browsers, think SE tried it with mixed results. SP"
23 minutes ago
Riccardo Rossini replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Sp, can I style also the scroll bar of the browser?"
56 minutes ago
Dustin Craig replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Appreciate the tip! I probably won't add this to my current site, but it might be a nice touch…"
1 hour ago

NC for Hire
Bernard Lama replied to Alexander's discussion 'Text Ticker in Ning Bar'
"You are welcome Alex. I'm glad to help you..."
1 hour ago

NC for Hire
Bernard Lama replied to Larry Matthews's discussion 'Photos'
"Can you show me your site and point me to what exactly you want to change?"
1 hour ago
Alexander replied to Alexander's discussion 'Text Ticker in Ning Bar'
"Thanks Bernard... You're a gentleman! I've changed the colour now. Much…"
1 hour ago
Ningaholic replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Appreciate the response Phil--looking forward to continued improvements.  Quick follow up to…"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service