Search for: Log In Free Support [Support request] Center Main Nav @Media size Home › Forums › Support › Center Main Nav @Media size This topic has 6 replies, 3 voices, and was last updated 3 years, 8 months ago by Tom. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts August 10, 2017 at 10:29 am #363258 Chris How do I center the main nave at a certain media size? I’m not able to figure it out. View post on imgur.com Thanks! CDS GP Premium 1.4.1 August 10, 2017 at 10:43 am #363277 LeoStaff Customer Support Hi there, Can you link me to the page? Thanks! Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ August 10, 2017 at 12:30 pm #363397 Chris Sorry. http://grabthegold.com August 10, 2017 at 7:06 pm #363585 Chris Oh. and only below 768 px. I forgot that part. Thanks! CDS August 11, 2017 at 12:09 am #363688 TomLead Developer Lead Developer You only want to center it on mobile? So it only applies to the mobile menu? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development August 11, 2017 at 5:47 pm #364340 Chris Right before the mobile. Like this. View post on imgur.com You tell me how to center it and I can work out the sizes. Cool? Thanks! CDS August 12, 2017 at 12:19 am #364466 TomLead Developer Lead Developer You could do something like this: @media (max-width: 1000px) { .nav-float-right .inside-header .main-navigation { float: none; text-align: center; } .nav-float-right .main-navigation li { float: none; display: inline-block; } } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In