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

    Is it possible to have some text positioned on the same line as a wayfinder menu?

    I have a very simple horizontal menu which I would like to prefix with some text, for example (with MENU being the prefixed text) -

    MENU page1 page2 page 3

    however the menu automatically goes to a new line. I have tried setting the css to display inline but I can’t seem to get it all sitting on one line. Have also tried setting &removeNewLines to true but that doesn’t seem to make a difference either.

    Anyone know if this is possible?

    Many thanks,
    Sian
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Try two <div> containers, one for your text and one for your wayfinder menu. Size and float the containers as appropriate.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 4639
        • 36 Posts
        Hi,
        As Susan said you could use two <div> elements like this:
        <div style="float:left; width:10%;">MENU</div><div>WAYFINDER MENU</div>

        If you want to know more about css floats read this http://css.maxdesign.com.au/floatutorial/index.htm.
          • 11678
          • 160 Posts
          Carlosma;
          Thanks for the url of the float tutorial! A much needed tut.
          Cheers,
          HalD
            "Today’s headlines are nothing more than whispers of history"
            • 27166
            • 58 Posts
            Many thanks for your help!

            Sian
              • 22164
              • 50 Posts
              Hi,

              I am desperately looking for a simple horizontal meny, would you mind sharing hwo you did that, if you look at my site http://www.medischgeheim.nl you will see the problem I have with the horizontal menu.

              thanks

              Robert
                Happy to have left Back Pain | Sciatica behind.
                • 7455
                • 2,204 Posts
                Quote from: OlivierF at Sep 10, 2007, 02:13 PM

                Hi,

                I am desperately looking for a simple horizontal meny, would you mind sharing hwo you did that, if you look at my site http://www.medischgeheim.nl you will see the problem I have with the horizontal menu.

                thanks

                Robert


                your css is not loadesd corectly
                did you set the liink right? and if the css is a internal document make sure that you set the template to blank and the geader to css/text.

                  follow me on twitter: @dimmy01