Okay
  Public Ticket #2401014
salient submenu
Closed

Comments

  •  1
    Gilda started the conversation

    Hi

    right now my submenu (see attached) shows up over the nectar slider, and there is a lot of space between the main menu and the sub menu items.   is there anyway for it to show up higher up, closer to the parent menu item?

    thanks!

    gilda

  •  2,979
    Andrew replied

    Hi Gilda,

    Use the following custom css in Salient > General settings > CSS/Script related:

    #top nav .sub-menu {
        padding-top: 0;
    }
    

    Hope this helps.

  •  1
    Gilda replied

    thank you.

    I added the css, but everything still looks the same

  •  2,979
    Andrew replied

    Hi Gilda,

    Try clearing your cache because the recently sent css has reduce the space.

    9517068409.png


    Thanks.

  •  1
    Gilda replied

    I did, and I can't see the difference.  The submenu starts at the top of the nectar slider instead of right under the menu.  Is that a Salient thing?  Or, if I swapped out "0" in the css for a negative number would that make a difference?

  •  2,979
    Andrew replied

    Hi Gilda,

    The sub menu is set to display that way.

    Try the following custom css with negative margin top:

    #top nav .sub-menu {
        margin-top: -50px;
        width:180px;
    }
    

    Regards.

  •  1
    Gilda replied

    that is perfect! thank you.

    is it possible to reduce the width of the dropdown?

    and thank you very much.

  •  2,979
    Andrew replied

    Hi Gilda,

    I have updated the rcently sent css to include a width. Can you copy again.

    Thanks.

  •  1
    Gilda replied

    Thank you so much! Everything works well.