We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15976
    • 44 Posts
    Is wayfinder limited to six buttons on a row? The seventh button always creates a new row. How can I get around this?
      • 4310
      • 2,310 Posts
      Wayfinder, by default, outputs an unordered list rather than rows.
      Sounds like your either your CSS is forcing doc 7 onto a new row or that you have 6 level one docs and the remaining docs are children (level two) docs.
      A link to, or example of your site structure might help solve the problem.
        • 15976
        • 44 Posts
        http://test.dotty.net.nz/modx

        Except I got the number of buttons wrong, I currently have seven buttons and am unable to add an eighth to the same "row".
          • 29181
          • 480 Posts
          Hey,
          as bunk58 said it’s probably your css.

          You have a css file called http://test.dotty.net.nz/modx/assets/snippets/wayfinder/examples/cssplay/basic_dd.css which has this css

          .menu {
          font-family: arial, sans-serif; 
          width:750px; 
          margin:0; 
          position:relative;
          z-index:100;
          }


          try increasing the width to 950 or something like that...I bet that solves it.

          Taff
            Adrian Lawley: www.adrianlawley.com
            • 4310
            • 2,310 Posts
            Taff beat me to it!
            Your #nav is set to width:918px but your .menu is set to width:750px so it breaks at 750px
              • 15976
              • 44 Posts
              Awesome, It now works. I was having a blonde moment and had already changed that value but uploaded it to the wrong place rolleyes
                • 4310
                • 2,310 Posts
                And then there were eight grin
                  • 29181
                  • 480 Posts
                  Glad it works.
                  I spent 3 hours yesterday morning where IE7 wouldn’t display my drop down no matter what I tried.
                  I posted in a forum, and 5 minutes later had the solution...there was a snippet call in front of the doctype (no idea who put that there undecided) so IE was firing in quirks mode. I had looked endless times, but couldn’t see the forest for the trees.

                  Good luck with the rest of your project.
                  Taff
                    Adrian Lawley: www.adrianlawley.com
                    • 15976
                    • 44 Posts
                    Thanks, it’s all going well now grin