Menu arrow and flow

Solved

Menu arrow and flow

stitchesdxb
Excursionist
29 0 7

I want to change my menu arrow from this

 

Screenshot_20240827_075308_Samsung Internet.jpg

 

To this

 

Screenshot_20240827_141736_Samsung Internet.jpg

 

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/

Accepted Solutions (3)

dws_pvt_ltd
Shopify Partner
369 69 87

This is an accepted solution.

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.

 

download (37).pngdownload (38).png

 

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

<svg aria-hidden="true" focusable="false" fill="none" width="12" class="icon icon-chevron-right  icon--direction-aware" viewBox="0 0 10 10">
      <path d="m3 9 4-4-4-4" stroke="currentColor" stroke-linecap="square"></path>
</svg>

 

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,

Screenshot from 2024-08-27 16-37-44.pngScreenshot from 2024-08-27 16-37-49.png

 

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

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

View solution in original post

dws_pvt_ltd
Shopify Partner
369 69 87

This is an accepted solution.

download (40).png

 

Please render new arrow here.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

View solution in original post

dws_pvt_ltd
Shopify Partner
369 69 87

This is an accepted solution.

@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;
}
Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

View solution in original post

Replies 7 (7)

dws_pvt_ltd
Shopify Partner
369 69 87

This is an accepted solution.

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.

 

download (37).pngdownload (38).png

 

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

<svg aria-hidden="true" focusable="false" fill="none" width="12" class="icon icon-chevron-right  icon--direction-aware" viewBox="0 0 10 10">
      <path d="m3 9 4-4-4-4" stroke="currentColor" stroke-linecap="square"></path>
</svg>

 

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,

Screenshot from 2024-08-27 16-37-44.pngScreenshot from 2024-08-27 16-37-49.png

 

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

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
stitchesdxb
Excursionist
29 0 7

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

 

Screenshot_20240827_153126_Samsung Internet.jpg

dws_pvt_ltd
Shopify Partner
369 69 87

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;
}
 
Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
stitchesdxb
Excursionist
29 0 7

Perfect Thank you!

 

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

 

20240421_093734s.png

dws_pvt_ltd
Shopify Partner
369 69 87

This is an accepted solution.

download (40).png

 

Please render new arrow here.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
dws_pvt_ltd
Shopify Partner
369 69 87

This is an accepted solution.

@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;
}
Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
stitchesdxb
Excursionist
29 0 7

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/