Mainmenu should be justified to the width of the website Forums » WordPress » Nirvana » How To Author Posts November 8th, 2016 at 12:10 #40515 funkenstain Hi, i would like to justify all items of the mainmenu to the width of the site. I tried custom CSS: #access a {justify-content: space-between; } but that didn’t work. Any suggestions? f November 9th, 2016 at 13:18 #40585 ZedCryout Creations mastermind That CSS bit only works on flex elements, so you’d need to use: #access > .menu > ul { display: flex; justify-content: space-between; } If you like our creations, help us share by rating them on WordPress.org. Please check the available documentation and search the forums before starting a topic. November 9th, 2016 at 13:29 #40589 funkenstain Great, that worked. Thanks! f November 9th, 2016 at 19:18 #40617 funkenstain Oh no, sorry, that destroys responsiveness. Any other idea? f November 13th, 2016 at 12:44 #40672 funkenstain Found the solution myself. Just add one line: #access > .menu > ul { display: flex; justify-content: space-between; flex-wrap: wrap; } Author Posts Viewing 5 posts - 1 through 5 (of 5 total) The topic ‘Mainmenu should be justified to the width of the website’ is closed to new replies.