Jump to:

3447 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » non Standard menus...

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 727 Views
  • Lumpy
    Avatar
    Community Member
    1 Post

    non Standard menus... Link to this post

    New to SilverStripe, and right off the bat I want to be wierd.

    I dont want a menu that is horizontal or vertical. I want an array. Basically a rectangle with 9 boxes (or more) in it in a 3X3 or 3X4 grid. none are submenus, all are the main menu.

    Is this possible in SilverStripe? can I control arrangement of the menu "buttons"?

  • banal
    Avatar
    Community Member
    901 Posts

    Re: non Standard menus... Link to this post

    Hi and welcome

    That's not a problem and can easily be achieved by using CSS only.
    You could output the menu as a unordered list (using the Menu(1) control as usual). By setting the ul and li elements to a fixed with and by using float you can create a "grid".
    Example: li have float: left and width: 100px, ul has width: 300px. To make it look good, the li elements should also get a fixed height.

    727 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.