We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21453
    • 9 Posts
    I’m new to MODx (read: new to CMS in general) and I’m having trouble achieving the look I want.

    Here’s the photoshop mockup I made of the template I want to create.


    Notice the menu. I need to have the two-word menu items on two separate lines with a border. I’m trying to achieve this with CSS.
    I tried inserting
    into the menu name. The lines broke, but this happened:

    .

    Not sure how to proceed. Any ideas?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I did a quick test with the menu title on one of my local dev sites, and this does what you want (you could put the CSS in your .css file instead of inline)
      <span style="display:block;text-align:right;">Testing</span><span style="display:block;text-align:right;">FileCabinet</span>

        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
        • 21453
        • 9 Posts
        AWESOME! You rock,
        Thanks.
        I had to add a "float:left" to the css and it worked beautifully, just the way I wanted it to.