SmoothState.js and X Theme Pro

Hello all,

Does anyone have any success adding SmoothState.js to X Theme Pro? I’m looking to add seamless page transition to my website. I followed along this article and added SmoothState. However, it seems like the CSS styles are not loaded upon each page load.

Sometimes, the styles would only load for a page if it was visited a second time. Manually refreshing or entering the URL will load the page normally.

Would love to see this working. Has anyone tried this? Any idea how to solve the styling issue?

Appreciate any feedback that helps. Thank you!