I’m customizing the Shopline thank-you / order status page by replacing the default content with a custom “hero” section using JavaScript and CSS. The logic works correctly, but on page load there is a brief flash where the original Shopline content is visible , and then my custom content replaces it. This causes a noticeable visual glitch (FOUC). I want the page to stay hidden (or show a loader) until my custom hero content is fully injected ,...
Originally asked by bilalahmedcodes on Stack Exchange (stackoverflow) (CC BY-SA 4.0).