Home › Forums › Support › Centralize secondary menu on mobile This topic has 7 replies, 2 voices, and was last updated 2 years, 3 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts April 9, 2017 at 8:21 am #303673 Rafael Hello guys, how you doing? I used this topic to hide menu toggle on mobile (https://generatepress.com/forums/topic/secondary-navigation-on-mobile-question/#post-120014) and worked like a charm. But now i want to centralize the secondary navigation only for mobile. Is this possible? Regards, Rafael April 9, 2017 at 9:03 am #303695 TomLead Developer Lead Developer Hi there, Give this CSS a shot: @media (max-width: 768px) { .secondary-navigation { text-align: center; } .secondary-navigation li { float: none; display: inline-block; } } April 15, 2017 at 12:40 pm #306356 Rafael Thanks Tom! π April 15, 2017 at 8:04 pm #306438 TomLead Developer Lead Developer You’re welcome π January 14, 2022 at 6:51 am #2080167 Keith Taylor Hi I tried this code to centralise the secondary menu, but it’s not working for me unfortunately – is there some alternative css that might work? Many thanks Keith GeneratePress 3.1.0 GP Premium 2.1.1 January 14, 2022 at 6:53 am #2080169 DavidStaff Customer Support Hi there, this is a really old topic – can you raise a new topic and share a link to your site. January 14, 2022 at 6:57 am #2080172 Keith Taylor Ok will do π January 14, 2022 at 7:02 am #2080178 DavidStaff Customer Support Thank you! Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In