[Resolved] menu hover underline alignment when has submenu with dropdown arrow

Home Forums Support menu hover underline alignment when has submenu with dropdown arrow

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

    Hello Team,

    I am using Mike Oliver’s css for menu hover animation for underline. For menu items which have submenus with downward arrow, underline align itselfs considering the full width with downward/drop down arrow. I want it to consider only the menu item for centring itself. Pls advice if this can be achieved.

    Thanks…

    #1400310
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .main-navigation .menu > .menu-item.menu-item-has-children  > a::after {
        left: calc( 50% - 9px );
    }
    #1400326
    letsdoit

    thanks a lot…

    #1400424
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.