bbeer Posted March 12, 2018 Share Posted March 12, 2018 Hi I am using Ryan's UiKIt template in one of my Sites. I use Offcanvas nav bar as mobile navigation. Somehow I don't really manage, that parent links are working. When clicked they just open the tree of children, but the link is not active for navigation. Has anyone an idea of how this could be solved? Your help is much appreciated. Link to comment Share on other sites More sharing options...
3fingers Posted March 12, 2018 Share Posted March 12, 2018 Hi, would you mind share your offcanvas navigation code? Maybe I can help. 1 Link to comment Share on other sites More sharing options...
bbeer Posted March 12, 2018 Author Share Posted March 12, 2018 Hi 3fingers I think I best give you the link to the page. Here http://trueart.ch/dev/ Thanks a lot in advance! My code looks like <div id="offcanvas-nav" uk-offcanvas> <div class="uk-offcanvas-bar"> <?=ukNav($home->children, [ 'divider' => true, 'depth' => 2 ])?> </div> </div> Link to comment Share on other sites More sharing options...
3fingers Posted March 12, 2018 Share Posted March 12, 2018 Hi bber, I've attached a screenshot of a page, I see the "uk-active" class correctly applied to the <li> active element. There is no css reference though, so the class does nothing...am I wrong or missing something? 1 Link to comment Share on other sites More sharing options...
bbeer Posted March 12, 2018 Author Share Posted March 12, 2018 you're right! Tried to remove the cover over the link and make it smaller, so that one could click the Icon as well as the link. Somehow that did not work. 1 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