Re: How to animate my menu drawer inner container?

Solved

How to animate my menu drawer inner container?

Fyney
Excursionist
37 4 15

Hi, I would like some help on my animation drawer. i already have the transition of the opening, but i just need the inner container opacity to fade in when it one, like this video, since it has a smooth transition:

Video

 

I just need to animate the menu drawer inner container to be Opacity: 0; when closed, and when open wait 400ms and be Opacity 1;

 

Thank you for any help.

@GemPages I would appreciate the help

Accepted Solutions (2)

Liquid_xPert_SJ
Shopify Partner
1190 130 167

This is an accepted solution.

Hi @Fyney 

 

1- Online STore

2- Edit Code

3- Theme files find gp-style.css

4- Put this css code into your file and save it

 

@media only screen and (max-width: 767px) {
.menu-drawer-container .menu-drawer__inner-container {
opacity: 0;
transition: all 4ms;
}
.menu-drawer-container.menu-opening .menu-drawer__inner-container {
opacity: 1;
}
}

 

Please accept if it works for you.

 

Thanks

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂

View solution in original post

Fyney
Excursionist
37 4 15

This is an accepted solution.

I just did some changes and this is the new result for anyone also with the same problem:

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media only screen and (max-width: 990px) {
  .menu-drawer-container .menu-drawer__inner-container {
    opacity: 0;
    transition: all 4ms;
  }
  .menu-drawer-container.menu-opening .menu-drawer__inner-container {
    animation: fadeIn 1s ease;
    transform: opacity 1s ease !important;
    opacity: 1;
  }
}

View solution in original post

Replies 6 (6)
Fyney
Excursionist
37 4 15

Yes sorry I think I forgot to post it 

 

Website & password:

St0r3P4ssw0rd

Liquid_xPert_SJ
Shopify Partner
1190 130 167

This is an accepted solution.

Hi @Fyney 

 

1- Online STore

2- Edit Code

3- Theme files find gp-style.css

4- Put this css code into your file and save it

 

@media only screen and (max-width: 767px) {
.menu-drawer-container .menu-drawer__inner-container {
opacity: 0;
transition: all 4ms;
}
.menu-drawer-container.menu-opening .menu-drawer__inner-container {
opacity: 1;
}
}

 

Please accept if it works for you.

 

Thanks

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂
Fyney
Excursionist
37 4 15

Thank you this is what I needed

Fyney
Excursionist
37 4 15

Thank you, Actually I was testing it after trying to do it and now ain't working 😔

 

I just took my code out and still not working 

Fyney
Excursionist
37 4 15

This is an accepted solution.

I just did some changes and this is the new result for anyone also with the same problem:

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media only screen and (max-width: 990px) {
  .menu-drawer-container .menu-drawer__inner-container {
    opacity: 0;
    transition: all 4ms;
  }
  .menu-drawer-container.menu-opening .menu-drawer__inner-container {
    animation: fadeIn 1s ease;
    transform: opacity 1s ease !important;
    opacity: 1;
  }
}
ignitefitwear
Tourist
7 0 2

works good but do know any other animation like this (fadeIn)