Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Non collasping on opening page

Home Forums Older releases 0.9.x Non collasping on opening page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1340
    t1peter
    Participant

    Hi, I’ve been implementing SmartMenus as a plugin to our CMS and it’s working great now. Almost…

    I have an issue with the mobile menu not being collapsed when opening or resizing a page.
    I have the HTML code as

    ul id="main-menu" class="sm collapsed {$OPTI..."

    but it’s being overwritten by the

    $('#menu-button').click(function()

    if I remove the click function it works correctly (though of course the click function doesn’t!).

    I’m sure I’ve missed something…

    #1687
    admin
    Keymaster

    Not sure what exactly might be causing this. One possible reason for it might be if you have added the “collapsed” class to your menu button link too – e.g.:

    <a id="menu-button" class="collapsed"></a>

    That link should look like this in your source:

    <a id="menu-button"></a>

    If this is not it, then I will need to look at some sort of live demo in order to investigate it so please provide such if possible.

    #1690
    t1peter
    Participant

    Fixed now – the script it wasn’t being initialized properly.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.