No replies
Med Che
Med Che's picture
Last seen: 7 years 21 weeks ago
Joined: 2013-03-06
Posts: 1
Points: 2

Hello guys!

I'm trying to convert a theme from ltr to rtl, I'm doing a good job till now since I'm not good at css, but I've encountered some problems that I couldn't fix, one of those is trying to center a text on the navigation bar like this one in the image below :

but it keeps on showing in the right, I mean the text, like the home text on the image above. this is the nav bar part in the css main file :

/*==== navigation ====*/
	nav#omc-main-navigation {margin-bottom:30px; margin-top:20px; position:relative;}
		nav#omc-main-navigation ul li {display:block; float:right; position:relative;}
		nav#omc-main-navigation ul li a {display:block; padding:4px 24px 0px 0px; border-left:1px; font-size:1.5em; color:#333;   -moz-transition:  .03s linear; -webkit-transition:  .03s linear; transition:  .030s linear; }
		nav#omc-main-navigation ul li small {display:none;}
			nav#omc-main-navigation ul li a:hover {text-shadow:none; float: left; background:#aaa; color:#FFF; -moz-transition:  .03s linear; -webkit-transition:  .03s linear; transition:  .030s linear; }
		nav#omc-main-navigation ul li.current-menu-item a, nav#omc-main-navigation ul li.current-category-ancestor a, nav#omc-main-navigation ul li.current-menu-parent a, nav#omc-main-navigation ul li.current-post-ancestor a {background:#f9ba00; color:#FFF; text-shadow:none; }

The Theme is Gonzo :

thanks a lot