Search for: Log In Free Support [Resolved] Logo in Navbar – padding and menu center Home › Forums › Support › Logo in Navbar – padding and menu center This topic has 10 replies, 2 voices, and was last updated 3 years, 12 months ago by Tom. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts March 3, 2017 at 7:17 am #286575 scott doel Hi Tom, have copied the solution posted here and added padding left of 2 cm. But I also have padding below the menu, and the menu has shifted to the right Is it possible you could help me with the CSS to: 1. remove the padding from below the menu 2. have the primary menu still centre GeneratePress 1.3.44GP Premium 1.2.94 March 3, 2017 at 9:55 am #286633 scott doel Just thinking you might need a link to the website! March 3, 2017 at 10:01 am #286637 TomLead Developer Lead Developer Hi Scott, Have you tried using the built in Navigation Logo option?: https://docs.generatepress.com/article/navigation-logo/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development March 3, 2017 at 10:18 am #286649 scott doel I’ve tried it now, but the menu still gets pushed to the right. Also, I can’t centre the logo vertically within the menu March 3, 2017 at 10:22 am #286650 TomLead Developer Lead Developer Where are you wanting the menu to be? Next to the logo or all the way to the right? For vertical centering, try this: .main-navigation .navigation-logo { padding-top: 5px; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development March 3, 2017 at 10:23 am #286652 scott doel No I wanted the log to be center, but the center option still leaves it pushed to the right after adding the logo March 3, 2017 at 10:25 am #286655 TomLead Developer Lead Developer You want the logo to be centered, or the menu? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development March 3, 2017 at 10:25 am #286656 scott doel Sorry Tom, I want the menu to centre of the page March 3, 2017 at 10:27 am #286657 TomLead Developer Lead Developer Ah ok, you’ll need to take the logo out of the flow of the page then. Try this: .main-navigation .navigation-logo { position: absolute; left: 0; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development March 3, 2017 at 10:28 am #286658 scott doel Perfect! Thank you Tom March 3, 2017 at 10:28 am #286659 TomLead Developer Lead Developer You’re welcome 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In