Shopify themes, liquid, logos, and UX
I'm currently working on this site: https://maison-rouge-ny.myshopify.com/
Password: thifis
I'm trying to align the menu on my header to the right side of the screen, like this example:
I tried using this code, and it didn't work. What am I doing wrong?
nav.header__inline-menu { text-align: right;
}
Solved! Go to the solution
This is an accepted solution.
Try this in base.css under everything.
.header--middle-left{
grid-template-areas: 'heading navigation icons';
grid-template-columns: auto 1fr auto;
column-gap: 2rem;
}
.header__inline-menu{
text-align: right;
}
Result:
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
header.header {
margin: 0;
justify-content: space-between;
width: 100%;
max-width: 100%;
display: flex;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Try this in base.css under everything.
.header--middle-left{
grid-template-areas: 'heading navigation icons';
grid-template-columns: auto 1fr auto;
column-gap: 2rem;
}
.header__inline-menu{
text-align: right;
}
Result:
This solved it! Thank you!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025