A user upgraded their Shopify store from Flow theme version 17 to 39.0.1 and encountered a navigation alignment issue. At certain screen sizes, the navigation bar shifted to the left instead of remaining centered as it did in the previous version. No built-in option existed in the Shopify editor to adjust this.
Solution provided:
Two community members offered the same CSS fix:
Add custom code to the theme.liquid file
Insert the code snippet above the </body> tag
The code forces center alignment for the navigation
Outcome:
The solution successfully resolved the centering issue. The user also noted general responsiveness concerns with the new theme version compared to the old site, though this secondary issue wasn’t addressed in the thread.
Summarized with AI on November 9.
AI used: claude-sonnet-4-5-20250929.
I’ve just upgraded our draft site to Flow 39.0.1 (from Flow 17) and the nav bar is now aligning to the left at certain screen sizes which it didn’t before. I’d like it to be centralised no matter what, any ideas?
Doesn’t seem to be any option to adjust this in the regular Shopify editor.
Picture attached of what it currently looks like.
When I go to full screen, it then aligns to the centre again.