# Possible to add delay to page transition?

**URL:** <https://forum.wixstudio.com/t/possible-to-add-delay-to-page-transition/65582>\
**Category:** Ask the community\
**Tags:** question, code, wix-studio\
**Created:** [December 11, 2024, 6:09pm UTC](https://forum.wixstudio.com/t/possible-to-add-delay-to-page-transition/65582 "2024-12-11T18:09:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raffael\_Kramer](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Raffael\_Kramer](https://forum.wixstudio.com/u/Raffael_Kramer)\
**Post date:** [December 11, 2024, 6:09pm UTC](https://forum.wixstudio.com/t/possible-to-add-delay-to-page-transition/65582/1 "2024-12-11T18:09:27Z")

</div>

**Question:**  
My Closing-Menu-animation (CSS + JavaScript) is interupted by the instant page transition of the default Wix Menu … **is there a way to delay page transition with code**?

**Product:**  
Wix Studio

**What are you trying to achieve:**  
I want to add a delay to the page transition.  
So when clicking the horizontal menu, it should not instantly navigate over to the other page, so that my menu-closing-animation can be executed first.

**What have you already tried:**  
Youtube, Wix Community, Web

**Additional information:**  
If that doesn’t work with Wix’s horizontal Menu’s, is there maybe a way to create a simple custom nav bar with Wix Velo?  
Because that way I could define the transition through:

```
    setTimeout(() => {
       wixLocation.to("/about");
    }, 800);

```

Thanks for any advice!

---

<div class="post-metadata">

**Author:** ![Tech\_Voyager](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/tech_voyager/32/97093_2.png) [@Tech\_Voyager](https://forum.wixstudio.com/u/Tech_Voyager)\
**Post date:** [December 11, 2024, 6:38pm UTC](https://forum.wixstudio.com/t/possible-to-add-delay-to-page-transition/65582/2 "2024-12-11T18:38:05Z")

</div>

Delaying page transitions for animations can be achieved in Wix Studio, but it requires custom coding using Wix Velo.

---

<div class="post-metadata">

**Author:** ![Raffael\_Kramer](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Raffael\_Kramer](https://forum.wixstudio.com/u/Raffael_Kramer)\
**Post date:** [December 11, 2024, 10:28pm UTC](https://forum.wixstudio.com/t/possible-to-add-delay-to-page-transition/65582/3 "2024-12-11T22:28:07Z")

</div>

Hey Tech\_Voyager!

Wow, really?  
Could you tell me how you would do that or maybe share a link to a tutorial? Would be amazing if I can apply this to my website!

Thank you!

---

<div class="post-metadata">

**Author:** ![Sarfraz-Ahmad](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/sarfraz-ahmad/32/116223_2.png) [@Sarfraz-Ahmad](https://forum.wixstudio.com/u/Sarfraz-Ahmad)\
**Post date:** [December 12, 2024, 1:53am UTC](https://forum.wixstudio.com/t/possible-to-add-delay-to-page-transition/65582/4 "2024-12-12T01:53:37Z")

</div>

How about if you add the code to the head of website in the dashboard, so when you navigate to any page this will work:  
For the code, you have to use your logic or use chatgpt

> **[Wix Editor: Embedding Custom Code on Your Site | Help Center | Wix.com](https://support.wix.com/en/article/wix-editor-embedding-custom-code-on-your-site)**
>
> Embed custom code snippets to the head or body of your site's pages to verify site ownership, monitor your site's traffic, track user activity, and measure the

---

<div class="post-metadata">

**Author:** ![Raffael\_Kramer](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Raffael\_Kramer](https://forum.wixstudio.com/u/Raffael_Kramer)\
**Post date:** [December 13, 2024, 7:43pm UTC](https://forum.wixstudio.com/t/possible-to-add-delay-to-page-transition/65582/5 "2024-12-13T19:43:03Z")

</div>

Thank you Najma,  
but as it seems at the moment it is not possible.  
Hope Wix is working on this, the community can vote here:  
[Custom Page Transitions - Ask the community - Community Support Forum | Wix Studio](https://forum.wixstudio.com/t/custom-page-transitions/36342)
