help with sub-menu alignment

Community Forums Forums Design Tips and Tricks help with sub-menu alignment

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Slay Matthews 1 year ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49237

    Slay Matthews
    Participant
    Post count: 1

    I can’t for the life of me figure out how to do this.

    When a sub-menu drops down, it’s left edge appears to align with the left edge of its parent. Instead, I’d like the right edges to be aligned.

    Anyone know how to do this?

    http://avltheatre.com/checkitout
    #51368

    Marcy
    Participant
    Post count: 286

    It looks like you have them centered now. It looks like you added
    [css].submenu {
    margin-left: -100px;
    }[/css]
    Is this the way you want it now? If you still want to have them align on the right, you can try -150px, and then tweak it a few pixels, if it needs more.


    #51445

    Slay Matthews
    Participant
    Post count: 1

    That’s closer. In fact, what I’d really like is for each sub-menu to automagically align with the right edge of it’s parent. But since each nav-menu item is a different size (e.g. GIVE vs CALENDAR) it seems like I’ll have to change the margins for each sub-menu individually.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.