diff --git a/templates/shaper_helixultimate/js/main.js b/templates/shaper_helixultimate/js/main.js index f4e6b763..3c6025bf 100644 --- a/templates/shaper_helixultimate/js/main.js +++ b/templates/shaper_helixultimate/js/main.js @@ -18,7 +18,7 @@ jQuery(function ($) { * @param {string} className the header className */ var deviceWiseStickyHeader = function (className, offsetTop) { - if ($('body').hasClass(className)) { + if ($('body:not(.layout-edit-iframe)').hasClass(className)) { var $header = $('#sp-header'); var headerHeight = $header.outerHeight(); var $stickyHeaderPlaceholder = $('.sticky-header-placeholder');