ruitertje Posted February 24, 2019 Share Posted February 24, 2019 Hi, I have rebuild a smarty-template that produces a menu from the cms-database. It can handle multiple levels for the navigation. I have it almost working the only thing is that alle dropdowns are opened upon the first level hover. It can be seen at http://c-m-s.pw/index.php?page=testen_w3css My question, is it possible to use hover for multiple level dropdowns? I cannot use "on click" because the toplevel is also a link to a page. Any ideas how to solve this? Regards, Jan Link to comment Share on other sites More sharing options...
ruitertje Posted February 25, 2019 Author Share Posted February 25, 2019 It is possible when you copy all code for .w3-dropdown-hover .w3-dropdown-content to another level like .w3-dropdown-hover1 .w3-dropdown-content1 .w3-dropdown-hover2 .w3-dropdown-content2 etc. etc. I only need to give a leftmargin of 2em or more to keep seeing the underlying menu. The first test localy is functioning, so I can nao build it into the template. Regards, Jan Link to comment Share on other sites More sharing options...
ruitertje Posted February 28, 2019 Author Share Posted February 28, 2019 When I use a local file w3.css this happens. This is the one I changed, after downloading a new one it is working, so I have to search why the change I made for the multilevel dropdown effect this. Any ideas are welcome. Regards, Jan 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