codewansh's solution to "SubNavigation Menu is Horizonal, should be vertical"

Hello,
\nYou can set flex-direction property to column. It defines how the items are placed in flex container.
\nTo set the second level navigation vertical
\nfollowing should be added in css file:<\/p>\n\n

.main-navigation ul ul{
\n flex-direction: column;
\n}<\/code><\/p>\n\n

Let me know if this solves your problem or if you need help with anything else. Thanks!<\/p>\n

Hello, You can set flex-direction property to column. It defines how the items are placed in flex container. To set the second level navigation vertical following should be added in css file: `.main-navigation ul ul{ flex-direction: column; }` This is the result you will get [link](https://imgur.com/AC1a4Na) Let me know if this solves your problem or if you need help with anything else. Thanks!

User: codewansh

Question: SubNavigation Menu is Horizonal, should be vertical

Back to question