Home › Forums › Support › Centralising secondary nav on mobile This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 14, 2022 at 6:59 am #2080176 Keith Taylor Hi I’d like to centralise my secondary nav menu on mobile only. I tried this: @media (max-width: 768px) { .secondary-navigation { text-align: center; } .secondary-navigation li { float: none; display: inline-block; } } …but no luck. Many thanks for your help. Keith GeneratePress 3.1.0 GP Premium 2.1.1 January 14, 2022 at 7:07 am #2080181 DavidStaff Customer Support Hi there, try this CSS: @media(max-width: 768px) { .secondary-nav-aligned-right #secondary-navigation .inside-navigation { justify-content: center; } } January 17, 2022 at 3:31 am #2082942 Keith Taylor Hi David, works perfectly, many thanks! Keith January 17, 2022 at 4:22 am #2082986 DavidStaff Customer Support Glad to hear that Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In