ESKEMA

Out of context: Reply #9

  • Started
  • Last post
  • 9 Responses
  • ESKEMA0

    If you want a really simple dropdown, create a new autonav template like I explained in the first reply, then uncomment lines 81-84 and choose it as your custom template.

    then add this JS to the head of your theme:
    http://pastie.org/8460020

    then add this to your css:

    li.nav-dropdown{
    position: relative;
    }
    .nav-dropdown ul{
    float: none;
    margin: 0!important;
    padding: 0;
    position: absolute;
    }
    .nav-dropdown ul li{
    display: block!important;
    float: none !important;
    margin: 0 !important;
    padding: 0;
    clear: both !important;
    width: 200px;
    }

    (there's unnecessary css there, but I had to override some default theme stuff to make it right)

    here's the default theme with this working.. (really barebones but you get the idea)
    http://dev.balas.pt/5621/

View thread