jomla Posted August 27, 2016 Share Posted August 27, 2016 (edited) Hi at all, I inserted an accordion menu in my web site to be easly visited with little mobile devices. It work well but I have some difficult with colors of links and items to navigate best into my many and many nested choices of my 4 levels menu. Please can you take a look to my menu at www.iomla.net and tell me what colors can I use to navigate best into my menu? css is www.iomla.net/acc.css Thank you very much Edited August 27, 2016 by jomla Link to comment Share on other sites More sharing options...
dsonesuk Posted August 27, 2016 Share Posted August 27, 2016 You target each sublevel by adding ul before targetting li or a #accordion ul li targets top level menu and all sublevel menus below it. #accordion ul ul li targets 1st sublevel and all sublevel menus below it. #accordion ul ul ul li targets 2nd sublevel and all sublevel menus below it And so on... Link to comment Share on other sites More sharing options...
jomla Posted August 27, 2016 Author Share Posted August 27, 2016 Thank you very much I added color......... I perfectly understand that It is bad It is not a pleasure to navigate.There is also :hover background that not answer You target each sublevel by adding ul before targetting li or a#accordion ul li targets top level menu and all sublevel menus below it.#accordion ul ul li targets 1st sublevel and all sublevel menus below it.#accordion ul ul ul li targets 2nd sublevel and all sublevel menus below itAnd so on... Link to comment Share on other sites More sharing options...
dsonesuk Posted August 27, 2016 Share Posted August 27, 2016 You apply :hover to the last List-Item element at the end depending on which sublevel menu you wish to target then set background-color for that list-item element, IF you wish to target the anchor link element after the last li is giving :hover add selector 'a' for anchor element at the end. IF you mean what colours to use, it is up to you to decide that. Link to comment Share on other sites More sharing options...
jomla Posted August 27, 2016 Author Share Posted August 27, 2016 yes and it is here difficult thank you IF you mean what colours to use, it is up to you to decide that. 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