# layout updating when using push\_navigate

**URL:** <https://forum.elixirforum.com/t/layout-updating-when-using-push-navigate/59049>\
**Category:** Questions\
**Tags:** phoenix, liveview, push\_navigate\
**Created:** [October 17, 2023, 4:37pm UTC](https://forum.elixirforum.com/t/layout-updating-when-using-push-navigate/59049 "2023-10-17T16:37:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nicky](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/n/f0a364/32.png) [@nicky](https://forum.elixirforum.com/u/nicky)\
**Post date:** [October 17, 2023, 8:15pm UTC](https://forum.elixirforum.com/t/layout-updating-when-using-push-navigate/59049/5 "2023-10-17T20:15:16Z")

</div>

thanks for the suggestion! the css attached to the layout was causing the issue so I created a plug that holds a list of css & js files that I loop through in the root layout. I’ll take your suggestion though and move the other common parts in the root layout behind a check.

---

_[View the full topic](https://forum.elixirforum.com/t/layout-updating-when-using-push-navigate/59049)._
