Before you ask please READ THIS

Drop Down Menu

edited February 2012 in Airlock Posts: 8
Hello

By default the drop down menu opens on left side. How do I make it open downside? Please help.
menu.png
1098 x 534 - 77K

Comments

  • AirAir
    Posts: 10,970
    You will have to experiment to get this right.
    Edit airlock/common/css/style-light.css
    serach for
    #header .menu .sub-menu{
    position: absolute;
    top: -14px;
    change top value to 35px (experiment)

    Next edit airlock/common/js/scripts.js
    serach for (line~25)

    $(this).css({
    'right': pos_vert,
    'width': $(this).width()
    });
    and change to

    $(this).css({
    'right': 0,
    'width': $(this).width()
    });
    or

    $(this).css({
    'right': -pos_vert/2,
    'width': $(this).width()
    });
    With regards
  • Posts: 8
    Thanks a lot!
  • Posts: 3
    I created pages and subpages but do not have any drop down menu. Do i have to do somthing to activate this? Please explain how or at least provide a link where i can read instructions. Thanks in advance.
  • Posts: 8
    Hi there! I'm having another issue. How do I move the 2nd submenu a few pixel right so that the first submenu won't be hidden? Check the attachment.

    Also can you help me with the arrow on how can I add the arrow on top of the submenu instead of right side?
    Screenshot.png
    1110 x 263 - 49K
  • AirAir
    Posts: 10,970
    Hi shuvo.

    You will have to edit airlock/common/css/style-light.css ~271 and change this:
    #header .menu .sub-menu .sub-menu{
    top: -10px;
    }
    to proper setting. Can't say what exactly, cause I need to see your site to test it. Give live project link.

    Arrow - you will have to make it your self, and then edit this (~251 in style-light.css)

    #header .menu .sub-menu .arr{
    width: 18px;
    height: 14px;
    position: absolute;
    top: 17px;
    right: -18px;
    background: transparent url(../gfx/light/menu-arr.png) 0 0 no-repeat;
    }
    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!