
I want to make main bar begin in the right side not in left side
Tags:
Replies are closed for this discussion.
Permalink Reply by Erik Woods on June 27, 2012 at 8:21am Please provide a URL.
Permalink Reply by Erik Woods on June 27, 2012 at 9:50am The page you sent me looks nothing like the screenshot in this discussion. It's not even in English. Am I missing something?
Permalink Reply by Erik Woods on June 27, 2012 at 9:53am 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;
Permalink Reply by Erik Woods on June 28, 2012 at 12:00pm .xg_theme #xg_navigation {
text-align: right;
}
.xg_theme #xg_navigation li {
display: inline-block;
float: none;
}
Permalink Reply by George H. Compton IV on June 27, 2012 at 2:48pm I will need to see the bar live To be able to write you the code :-)

Try this code
#xg_navigation ul, #xg_navigation ul li a {
display: block;
float: right;
}
Permalink Reply by Erik Woods on June 28, 2012 at 5:54am
Permalink Reply by Erik Woods on June 28, 2012 at 8:30am 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.




soaringeagle replied to soaringeagle's discussion 'google disavow 101'
Jelena replied to israel's discussion 'Pantalla de Administrador o Creador (Manage'© 2013 Created by Ning.
