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

Profile IconNing Status

Intermittent errors on a cluster of networks

Our on-call team is investigating an issue that is causing intermittent slowness and “500:… See More
6 minutes ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Thank you Corey"
8 minutes ago
Kristy replied to Janettee McCrary's discussion 'Learn To Code'
"Thanks for the info, everyone!  For those interested in continuing education, like myself, you…"
11 minutes ago
Corey replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Hi Cindy, It appears that Phoron has been set up with a sandbox plan for his Ning 3 network. He…"
11 minutes ago
Kristy replied to Kos's discussion 'Stressful Month (or two)'
"Yay! I love positivity. Thanks for this! :-)"
15 minutes ago
James Higginson replied to Tim's discussion 'Ning Slow Today?'
"Also experiencing 500 errors, can't open a ticket via the dashboard either  500:…"
25 minutes ago
James Hawkins replied to Alexander's discussion 'Move header image to top!'
"Hi Alexander,  This snippet of code placed in custom css should do it. If you have this code…"
29 minutes ago
AnGella replied to PeruCool's discussion 'Alternatives to Ning social network'
"No, ask away!  I just build off of the standard 2012 Wordpress theme.  It has the same…"
46 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service