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

    I'm back with another inquiry that may be super easy for anyone to take care of except me!

    What I'm looking to accomplish is adding a submenu to an item already in my company's website's dropdown menu (see the screencap to see what I mean).

    I've tried Googling the html code and inserting it but the only thing that happens is that the options in the new submenu just end up in the drop down menu that's already there :/.

    Clearly I'm doing something wrong. Is there a simple html way to do this? I need direction from almost start to finish....

    Thank you in advance!

      • 2762
      • 1,198 Posts
      Is a static (html) or a dynamic menu (wayfinder snippet)?
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 9995
        • 1,613 Posts
        you need a new sub sub menu?

        [[Wayfinder? &level=`3` and you need to style the ul ul ul{..styles here..} levels with css

        something like:

        .nav ul ul ul {
        position: absolute;
        top:0;
        left:180px;
        }


        etc..
          Evolution user, I like the back-end speed and simplicity smiley
          • 48834
          • 13 Posts
          Nicola - I believe it's a dynamic menu but I'm not sure. The coding for it is located under the 'chunks' section. Actually come to think about it maybe it is static? Here's what I see:



          The yellow arrow and line show where in the code I would think to put the coding for an additional menu that appears when you roll over 'Touch Up Paints & Coatings'. Any thoughts?

          Fourroses666 - I guess that's what it's called? If you call the navigation bar on top a menu and the options that drop down as sub menus than yes, I need a sub-sub menu. I want it to look like the screencap in my initial post. If I have to include CSS, I don't a) know anything about css and b) don't know where I would place it in the coding... sighhhhhh
            • 9995
            • 1,613 Posts
            Hmm, looks like its not dynamic.
            I'm pritty sure you need to do some CSS or you must be lucky to have used some template which already has the third level css.

            before the closing </li> you need to add the links.

            <li><a href="/prod-serv...">Touch up...</a>
              <ul class="sub_menu hide">
                <li><a href="/the-url">Text</a></li>
                <li><a href="/the-url">Text</a></li>
                <li><a href="/the-url">Text</a></li>
              </ul>
            </li>

              Evolution user, I like the back-end speed and simplicity smiley
              • 48834
              • 13 Posts
              Thanks!! and I think that's getting me closer...BUT!

              Here's what it looks like with your coding inserted:


              But for some reason it does this:


              It looks like the text 'USMC' links I added just lay on top of the menu. They should only appear when I hover over 'Touch Up Paints' and to the right. Like below...



              Why wouldn't the code work????
                • 9995
                • 1,613 Posts
                because you have to style that to show on the right.
                something like:

                .nav ul ul ul {
                position: absolute;
                top:0;
                left:180px;
                }
                


                it should probably need:

                .nav ul ul ul{display:none;}
                .nav ul ul ul:hover {display:block;}
                


                but if you don't know any css I think you will never figure it out..

                  Evolution user, I like the back-end speed and simplicity smiley
                  • 13226
                  • 953 Posts
                  @mikedangola

                  You need CSS knowledge to get your problem sorted - if you have no CSS knowledge you won't get it sorted, as "fourroses666" already mentioned.

                  A starting point: Using Wayfinder to add classes to ul over multiple levels

                  Download the zip file and take a look - As stated in that post, I can't offer any help with it, it's down to you.