Home › Forums › Support › Centering Logo on Mobile Only This topic has 6 replies, 3 voices, and was last updated 4 years, 11 months ago by David. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts May 22, 2019 at 4:53 pm #908312 hichb Hello, I’m trying to center the Logo on mobile only. I used this code but doesn’t work for me: @media (max-width: 768px) { .inside-header { text-align: center; } } Thanks in advance for your help! May 22, 2019 at 5:19 pm #908324 LeoStaff Customer Support Hi there, Try this CSS: @media (max-width: 768px) { #site-navigation .navigation-branding { margin: auto; } } Let me know π May 23, 2019 at 3:46 am #908577 hichb Tried but doesn’t work. π May 23, 2019 at 4:02 am #908587 hichb Sorry it works only for tablet with 768px and after when it’s less it goes back to the left π May 23, 2019 at 6:51 am #908821 DavidStaff Customer Support Try this CSS: @media (max-width: 768px) { .main-navigation.has-branding .inside-navigation { justify-content: center; } .site-logo.mobile-header-logo { margin-left: auto; margin-right: auto; } } May 23, 2019 at 6:55 am #908826 hichb Bravo (clap clap) You guys are really good in CSS! π May 23, 2019 at 6:59 am #908836 DavidStaff Customer Support Awesome – You flatter us π 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