• Resolved vgstudios

    (@vgstudios)


    Hi, thanks for your great theme.

    Wanted to notify you that there’s probably a minor problems on RTL with the menu sub-menu dropdown direction logic, for now we fixed it with some CSS, but I think it would be better to fix it in the JavaScript instead:

    /* Fix menu drop-down direction */
    .animated-submenu [data-submenu='right']>ul {
     right: initial;
     left:-5px;
     margin-right: initial;
     margin-left:-100%
    }
    .animated-submenu [data-submenu='right']>ul:before {
     right:-5px;
     left:initial
    }
    
    .animated-submenu [data-submenu='left']>ul {
     left: initial;
     right:-5px;
     margin-left: initial;
     margin-right:-100%
    }
    .animated-submenu [data-submenu='left']>ul:before {
     left:-5px;
     right:initial
    }
    
    .animated-submenu [data-submenu='left']>a .child-indicator svg {
     transform:rotate(-90deg) !important;
    }
    .animated-submenu [data-submenu='right']>a .child-indicator svg {
     transform:rotate(90deg) !important;
    }
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @vgstudios

    Thank you so much for submitting this. I will pass it along to our development team and we will get back to you asap 🙂

    Hello @vgstudios

    We’ve been trying to understand your issue and trying to replicate it, but got nowhere, really. Could you please get back to us with more details on it? Like, what’s exactly happening here?

    Thanks!

    Thread Starter vgstudios

    (@vgstudios)

    Hi. Thanks for your reply.

    On https://www.hybh.co.il/
    there’s a menu with a sub menu that has sub menu items that slide out:
    https://ibb.co/7gH9S1Q

    The screenshot already shows the fix with the CSS, without the fix the JS code would make it open to the right, which seems suboptimal for RTL (which sould open to the left by default).

    Theme Author creativethemeshq

    (@creativethemeshq)

    Hello @vgstudios,
    Actually that’s not an issue.

    Our menu uses a smart detection system and by default all second level drop-downs are pushed to the right but in case there is no enough space for them they are pushed to the left.

    Anyway, I think we could add a small improvement here, for RTL, so by default drop-downs could open from left and if there is no enough space they will be pushed to right.

    Hope we will be able to add this improvement in the next update so you won’t have to use that custom CSS 🙂

    Cheers.

    Thread Starter vgstudios

    (@vgstudios)

    Hi. Thank you. Sadly I got not notified of your reply, but we noticed it was fixed, because now our fix was causing it to be wrong xD

    Thanks again, have a good day!

    Theme Author creativethemeshq

    (@creativethemeshq)

    You’re welcome @vgstudios 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu RTL’ is closed to new replies.