Tagged: menu
- This topic has 8 replies, 2 voices, and was last updated 11 years, 9 months ago by Joaozinho. 
- 
		AuthorPosts
- 
		
			
				
January 15, 2014 at 8:53 pm #19317Joaozinho MemberHi, How can I centralize the menu? It is left aligned now. I have checked other topics but the CSS code doesn’t appear to work. The website is http://www.worldcupbrazil.net/ Can you help us out? Thanks in advance, 
 JoaoJanuary 15, 2014 at 10:17 pm #19331Sakin Keymaster@Joaozinho: Can you try adding in the following CSS in “Appearance => Theme Options => Custom CSS” box. #branding ul.menu { text-align: center; } #branding ul.menu li { display: inline-block; float: none; }January 15, 2014 at 10:24 pm #19334Joaozinho MemberThanks! But now I only see these 2 type of vertical lines on the menu, how can I remove the black lines? And how to remove the vertical blue line on the right of about us? This because Blog doesn’t have a vertical blue line on the left. January 15, 2014 at 10:45 pm #19340Sakin Keymaster@Joaozinho: You can add the following CSS in “Appearance => Theme Options => Custom CSS” box. #branding ul.menu li { border-left: none; } #branding ul.menu li:first-child { border-right: 1px solid #1b4266; } #branding ul.menu li:last-child { border-right: none; }January 15, 2014 at 10:51 pm #19342Joaozinho MemberI added the code, but nothing has changed yet, did I put the code in correctly? January 15, 2014 at 11:03 pm #19343Sakin Keymaster@Joaozinho: I don’t see the above custom css in your site. Did you add in? If yes then try clearing your cache from WP Super Cache plugin settings. January 15, 2014 at 11:14 pm #19344Joaozinho MemberYes it is added. I cleared the cache. The right blue vertical has been removed great. I only see these other black vertical lines on the menu, close to the blue lines where the options are separated. Do you see what I mean? Is there a way to delete those darker vertical lines? January 15, 2014 at 11:43 pm #19346Sakin Keymaster@Joaozinho: Sorry typo mistake in Border spelling. I have correct the css. The following CSS will just remove one black border: #branding ul.menu li { border-left: none; } #branding ul.menu li:first-child { border-right: 1px solid #1b4266; } #branding ul.menu li:last-child { border-right: none; }But if you want to remove both the border then you can add the following: 
 #branding ul.menu li { border: none; }January 16, 2014 at 12:05 am #19347Joaozinho MemberGreat it is gone thanks a lot! 
- 
		AuthorPosts
- The topic ‘Centralizing menu’ is closed to new replies.
