Episerver has a strange way of handling scripts, which is why we need to add an extra hidden span class into the script when publishing Sparkle on Episerver.

<div class='sprkl-wrapper Sparkle-xxxxx' data-template='4' data-show-scrollbars='false' data-fixed-height='false' style='height: 100%; width: 100%;'>hidden</div>

Add the code snippet: <span style"display:none">hidden</span> into the div and Sparkle should work just fine. This doesn't affect the style or the loading times of the Sparkle - it just makes it work on Episerver.

      

Did this answer your question?