Sub Navigation Position

Community Forums Forums Design Tips and Tricks Sub Navigation Position

This topic is: not resolved

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  DWooly824 7 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #100302

    reydar
    Participant
    Post count: 15

    Hello,

    I would like to position the sub menu of my navigation to line up with the border left on the top level menu items. How can I do this? I thought it may be the padding-left, but when I increased it nothing happened.

    Thanks!

    http://www.firetrucksunlimited.com
    #100323

    DWooly824
    Participant
    Post count: 16

    I tried doing a negative margin in Firebug, and it worked.
    .genesis-nav-menu .sub-menu a { margin-left: -5px;}

    #100706

    reydar
    Participant
    Post count: 15

    DWooly 824,

    That works to move the whole sub menu, but I would like the text to remain aligned. I need to increase the padding on the left as well. Is using a negative margin the correct way to do this?

    #100799

    DWooly824
    Participant
    Post count: 16

    Hi Reydar,
    Typically the sub menu is automatically left-aligned to the main menu…not sure why in your case it’s off. I think the negative margin will be the best way to achieve this, and readjusting the left padding. If anyone else has suggestions, I’m curious what they are.
    -D

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

You must be logged in to reply to this topic.