How do I left align the Menu in Truly Minimal Theme?
-
How do I left align the Menu in Truly Minimal Theme?
The blog I need help with is: (visible only to logged in users)
-
Hi Dayna – it is left-aligned. Did you want it to the right? If so, try this CSS snippet:
.navigation-main li { float: right; } -
While the menu itself is left aligned, the words (menu items) are not.
It’s as if there is padding around each word or each menu item is centered in it’s space.
-
Hi Dayna – The individual links are left-aligned also. Is it that you want less space between them? If so, try adjusting the margin. Currently, the margin property is as follows:
.navigation-main li { margin: 5px 12px; }You might try:
.navigation-main li { margin: 5px 8px; }Or, if you just want the left-most menu item to be flush with the left border of your content, try:
#menu-item-455 { margin-left: 0px; } -
Yes! That last option is exactly what I want to do. Thank you for the code snippet.
Now, where do i insert the code, please?
-
Nevermind, I found where to insert the code snippet into the CSS box of the Customize page.
It worked!
Thanks so much for your help! -
- The topic ‘How do I left align the Menu in Truly Minimal Theme?’ is closed to new replies.