We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2868
    • 4 Posts
    Hi,

    Started setting up ModX and wanted a 3 level navigation. For some reason the navigation is always "open" it doesn’t hide on load.

    Anyone know why?

    www.mkc.nsw.edu.au/modx
      • 4041
      • 788 Posts
      I see this in the source of the page, don’t know if its the cause but it doesn’t look right:

      <h2>News:</h2>
      <?
      // Use the following syntax $param = ’value’;
      ?>
      <strong>
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 3707
        • 241 Posts
        In dropdown.css you have the rule
        .menu ul li ul {
        display:none;
        }

        And in modxmenu.css you have the rule
        #ajaxmenu li ul, #ajaxmenu li.over ul {
        display:block;
        }

        The two rules are conflicting with each other with the second rule winning. If you change the second rule to the following it should work.
        #ajaxmenu li.over ul {
        display:block;
        }

        I’m not sure if it will cause problems elsewhere though. On a separate note, the horizontal menu doesn’t fit inside the container width when I view it, it wraps onto the next line. You need to adjust the width settings.
          • 2868
          • 4 Posts
          Thanks bob,
          that fixed it.