Davo2020 Posted October 25, 2023 Share Posted October 25, 2023 (edited) Huge space I can't get rid of. 🥵 https://www.adventurehire.com.au/home/book-filter As is shown in the edit mode, the text box and button are up close to the header. But when I save and view, regardless of device, there is a huge gap (margin) between the header and the text box and button.  (Squarespace 7.1 with fluid.) As you can see by the image below, the text box is at the top of the grid. It looks to me as if the grid is centred on the background and I can't move the grid up higher. This is the code behind the button, just in case that has some effect on the problem and/or solution. <div id="#block-yui_3_17_2_6_1459644649106_53673" class="slideUp">  <script>  $(window).scroll(function () {  $('#block-yui_3_17_2_1_169821492614_1476').each(function () {  var topOfWindow = $(window).scrollTop(),  bottomOfWindow = topOfWindow + $(window).height();  var imagePos = $(this).offset().top;  if(imagePos <= bottomOfWindow-100 && imagePos >= topOfWindow-250){  $(this).addClass('slideUp');  }else{  $(this).removeClass('slideUp');  }  });  });  </script> Any help would be much appreciated. Edited October 26, 2023 by Davo2020 Add url for further support. Link to comment
Solution tuanphan Posted October 26, 2023 Solution Share Posted October 26, 2023 I don't know this, but you can fix it temporarily by adding this code to Website Tools (under Not Linked) > Custom CSS div#block-yui_3_17_2_1_1698213574799_4652 { position: relative; } .fe-block-yui_3_17_2_1_1698213574799_4652>div:not(:first-child) { position: relative; top: -250px; }  Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment