Support » Themes and Templates » centering a text on navigation button

  • 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 :

    http://i46.tinypic.com/jsms7m.png

    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; }

    I hope you could help me with that!

    Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘centering a text on navigation button’ is closed to new replies.