mxpweb Posted February 17, 2020 Share Posted February 17, 2020 I was following an online course, wordpress theme, This css code was to display the list menu in top to be in horizontal: header .top-bar { list-style-type: none; margin: 0; padding: 0; display: flex; But this did not support to display the menu into horizontal and remained vertical, Any idea is the code is correct or something else missing? Thanks in advance. Link to comment Share on other sites More sharing options...
Ingolme Posted February 17, 2020 Share Posted February 17, 2020 That should work, if .top-bar is the <ol> or <ul> that contains the list items. Link to comment Share on other sites More sharing options...
dsonesuk Posted February 17, 2020 Share Posted February 17, 2020 I presume you've made adjustments to php code so the menu is positioned correctly within html to produce horizontal menu? media queries that adjust menu depending on device maybe a factor also. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now