Menu arrow and flow

I want to change my menu arrow from this

To this

I also want menu to flow nicely, the way it glides in smoothly

This is my menu now www.stitchesdxb.ae

I want it to flow like this following website

https://milkitbaby.shop/

Hello @stitchesdxb , Please follow these steps to add this CSS code:

  1. Go to your Online Store
  2. Click on “Themes”
  3. Select “Edit code”
  4. Open your snippets → header-drawer.liquid file.

// Add snippets -> drawer-submenu-arrow.liquid
// add the below svg code into that file.

After add snippet file of new arrow and call it in the header-drawer.liquid file add please follow this steps to add CSS.

  1. Go to your Online Store
  2. Click on “Themes”
  3. Select “Edit code”
  4. Open your CSS file. If you have a custom CSS file, open that instead.
  5. If you can’t find your custom CSS file, open “base.css”
  6. Add the following CSS code at the end of the file.
svg.icon.icon-chevron-right.icon--direction-aware {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
}
.menu-drawer__close-button svg.icon.icon-chevron-left.icon--direction-aware{
    transform: rotate(0deg);
    margin-right: 1rem;
}

See the screenshots below,

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

1 Like

Thanks! This worked.. but the arrow is attached to the word not like your screenshot..

Please add the CSS for this,

  1. Go to your Online Store
  2. Click on “Themes”
  3. Select “Edit code”
  4. Open your CSS file. If you have a custom CSS file, open that instead.
  5. If you can’t find your custom CSS file, open “base.css”
  6. Add the following CSS code at the end of the file.
svg.icon.icon-chevron-right.icon--direction-aware {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
}
.menu-drawer__close-button svg.icon.icon-chevron-right.icon--direction-aware {
    transform: rotate(180deg);
    margin-right: 3rem;
    top: unset;
    left: 15px;
}
 
1 Like

Perfect Thank you!

now for the back button I also want it to be the same icon

1 Like

Please render new arrow here.

1 Like

@stitchesdxb Please update the CSS also ,

.menu-drawer__close-button svg.icon.icon-chevron-right.icon--direction-aware {
    transform: rotate(180deg);
    top: unset;
    left: 10px;
}
1 Like

Thank you so much! it works now.. for the other menu issue (the smooth transition once clicked on the menu item) do you know how I could achieve that? just like this website: https://milkitbaby.shop/