# When pushing site live, core nav styles and scripts arent included

**URL:** <https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206>\
**Category:** Archived Support\
**Created:** [September 20, 2023, 5:33pm UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206 "2023-09-20T17:33:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shelaine](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/shelaine/32/19596_2.png) [@shelaine](https://community.localwp.com/u/shelaine)\
**Post date:** [September 20, 2023, 5:33pm UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206/1 "2023-09-20T17:33:18Z")

</div>

This is occurring whether pushing to WP Engine or Flywheel hosting. And I get the same issue when switching to a default theme like twenty-twenty-two. I’ve compared the sources between my local site and the staging site - it looks like the core css/js files for navigation aren’t being loaded.

Heres an example of what the menu looks like when pushed to staging.  
 ![Screenshot 2023-09-20 at 11.08.10 AM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/4/f4a90152eecf6a0c0b8524eb15b8d4cef79ed110.png)

And what it should look like  
 ![Screenshot 2023-09-20 at 11.10.29 AM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/0/0/00afc6697892fafeacee14b672c0c621d9bd977b.png)

Here the scripts are loading locally

 ![Screenshot 2023-09-20 at 11.34.20 AM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/c/0/c00da22356508fa8f2f86998796bdb66025b695e.png)

And in staging they’re gone  
 ![Screenshot 2023-09-20 at 11.34.43 AM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/3/6/36c485b0b3b3bf49c916975c0dbaea5b47afe1b8.png)

Local Version 7.1.2  
Mac OS Ventura 13.5

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 20, 2023, 5:38pm UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206/2 "2023-09-20T17:38:41Z")

</div>

Hi @shelaine

Did this issue start recently after an update? Or was this your first attempt using Local?

Are you sites using WordPress 6.3? I wonder if this might be related to a known bug.

---

<div class="post-metadata">

**Author:** ![shelaine](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/shelaine/32/19596_2.png) [@shelaine](https://community.localwp.com/u/shelaine)\
**Post date:** [September 20, 2023, 5:41pm UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206/4 "2023-09-20T17:41:58Z")

</div>

Yes WP Version 6.3.1 and this has started occurring in the past month. I’ve often had to revert back to an earlier version of Local due to other problems pushing live.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 20, 2023, 5:43pm UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206/5 "2023-09-20T17:43:49Z")

</div>

Check out this thread over here. There are a couple of listed workarounds you could try if this is indeed part of the same bug:

> [@Importing a WP 6.3 exported site with block theme results in CSS problems \[with solution\]](https://community.localwp.com/t/importing-a-wp-6-3-exported-site-with-block-theme-results-in-css-problems-with-solution/38552/14):
>
> Hi @designmindz - thanks for reaching out! We merged your post into this larger thread here - see above for a solve (either, adding define('WP\_DEVELOPMENT\_MODE', 'all'); to your wp-config.php file or by removing the transient value from the wp\_options table in the database, which WordPress will then regenerate for you). My take - I feel like this is a bug in WordPress 6.3, but something we can definitely handle better, so we’re taking a look at our options.

---

<div class="post-metadata">

**Author:** ![ahwee321](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ahwee321/32/20097_2.png) [@ahwee321](https://community.localwp.com/u/ahwee321)\
**Post date:** [November 15, 2023, 2:06am UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206/6 "2023-11-15T02:06:44Z")

</div>

I’m still facing this issue when I browse the site locally from another pc, e.g. from the development PC it I was using localhost in the URL for the local PC I was using 192.168.1.188 the css styles wasn’t loading.

I did try all of those fixes, btw I’m on 6.4.1

 ![Capture - dev](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/6/d/6d145c2e2674103af056e3bfc74657d2768d6367.png)  
 ![Capture - live](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/1/c/1c1e67ea9bd263dd907b73eaecb2aa0c8436d17e.png)

Sorry my bad it was solved after updating both Wordpress Address URL and Site Address URL to the intended IP address for local usage.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 15, 2023, 2:00pm UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206/7 "2023-11-15T14:00:29Z")

</div>

Glad to you were able to get that fixed up @ahwee321! Happy Developing 💚

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [November 17, 2023, 2:01am UTC](https://community.localwp.com/t/when-pushing-site-live-core-nav-styles-and-scripts-arent-included/39206/8 "2023-11-17T02:01:22Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
