Centering Menu in Truly Minimal
-
Hi, I am using the Truly Minimal theme and would like to centralise the navigation menu. Currently the default position is to the left. Would anyone be able to help me out with the CSS for it? Would greatly appreciate it. Thanks in advance :)
The blog I need help with is: (visible only to logged in users)
-
Hi! You can try this:
.navigation-main ul { text-align: center; } .navigation-main li { float: none; display: inline-block; } -
Another query too, if I may?
I have my sidebar placed on the left side. I would like to widen the main post content, and thereby reduce the space between the sidebar and the dotted margin. Right now there’s a vast block of white space between and it looks, well, odd. I’ve been puttering with CSS, but not quite getting there (admittedly, I don’t know much about it.)
-
Oh, abreujamil, you must have posted as I put my second question up. I put in your suggestion and Bingo! Job done! So, thank you very much, really appreciate it :D
-
Sure – no problem. For your second question:
.sidebar-left .site-content { margin: 0 0 0 24% }with 24% being adjustable (the more you decrease it, the farther left your content will begin)
PS Here’s a great place to improve on your CSS skills:
-
Oh gosh, it worked perfectly! Thanks for the help and for the link too. I hope I ‘get’ it cos it’s blooming handy :D
-
- The topic ‘Centering Menu in Truly Minimal’ is closed to new replies.