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

Views: 638

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

Yaron replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
"Thank you"
7 minutes ago
Allison Leahy replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
"Thanks, Yaron. Happy to communicate your feedback regarding fullscreen video embeds back to the…"
11 minutes ago
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Not quite clear what Jon is stating here. It reads to me as though a Disqus user can simply login…"
19 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
" "
25 minutes ago
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"To be clear, the suggestion to integrate a Ning login with the Disqus commenting system has been…"
26 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Yes, you can enable it in the Admin Panel. When you use the Universal Code to generate their panel…"
28 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Like Immediately!!!!!!! NOW I WANT IT BAD!!!"
31 minutes ago
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"How cool. Did not even know this was possible. I'll have to try it out."
31 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service