Whirlybird Posted December 6, 2022 Share Posted December 6, 2022 Hello Squarespace "Customize With Code" Forum - I am hoping you all. may be able to help me, as Squarespace support has sent me your way. I am trying to find a code injection that is causing text spacing issues on the following page: https://www.shesingsoutloud.com/sanctuary I am seeing text spacing issues with the text block that begins with "Hey there, luminous one..." and ends with "The first step to work with me in depth is to join". There is a large a 'gap' underneath this text block. I am seeing this on Desktop. On mobile I see a slight issue with the spacing between the text "You just need to be willing to say YES to your desire" and "This is "being ready"." The Squarespace support team advised: "After doing some testing on my end, I found that the issue was resolved when I disabled scripts on the preview version of your site." And recommended that I comb through the code. I have an anchor tag on the page with the following code: <a href="#" id="details" style="visibility: hidden"></a> Removing this and the link to it higher on the page did not resolve the issue. I also have header injection on the page as follows: <style>.header, #footer-sections {display:none!important}</style> I tried removing this as well and it did not resolve the issue. I went and removed any old custom FB pixel that I could find on any existing pages. This seemed to resolve the issue on mobile for the the text block that begins with "Hey there, luminous one..." and ends with "The first step to work with me in depth is to join". but I am still seeing the issue on desktop. I also see a slight issue with the spacing between the text "You just need to be willing to say YES to your desire" and "This is "being ready"." on mobile. I have attached a screen shot labeled 'Desktop Screen Shot of gap and spacing issues (Live site)' and a screen shot of how it is appearing in edit mode (this is how I want it to appear live) labeled 'Desktop Screen Shot of Editor mode'. The only custom code that I know I am using is the hide header and the anchor tag. I checked for site-wide code injections and there are none. It seems that removing all of the FB pixel codes resolved most of the gap and formatting issues on mobile but not all and. not on desktop. Can anyone help me find the code that is causing my spacing issue? Any and all assistance is greatly appreciated. Link to comment
creedon Posted December 6, 2022 Share Posted December 6, 2022 Site-wide password? Whirlybird 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Whirlybird Posted December 6, 2022 Author Share Posted December 6, 2022 @creedon Thank you for your reply! Not sure if you were asking for a PW or suggesting that it might be the issue. There is no site-wide password in place. There was a PW for this page that I have since removed, but it didn't seem to resolve the issue. Link to comment
creedon Posted December 7, 2022 Share Posted December 7, 2022 1 hour ago, Whirlybird said: Not sure if you were asking for I was asking for whatever password was on the page so that we could see it. It's hard to help with something we can't examine. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Whirlybird Posted December 7, 2022 Author Share Posted December 7, 2022 @creedonThought so and sorry about that! PW has been removed. I thought I had already done that before posting but must not have saved it in my flurry of worry over the spacing issue! Link to comment
Solution creedon Posted December 7, 2022 Solution Share Posted December 7, 2022 (edited) Check for two returns between each line. Let us know how it goes. Edited December 7, 2022 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Whirlybird Posted January 9, 2023 Author Share Posted January 9, 2023 @creedon This did seem to help, thank you! I increased the line spacing in the design section of the site to achieve a similar look. Are two spaces between each line something that is known to cause issues? Link to comment
creedon Posted January 9, 2023 Share Posted January 9, 2023 Quote Are two spaces between each line something that is known to cause issues? I don't think so but I don't do a lot of double blank lines. Whirlybird 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Whirlybird Posted January 9, 2023 Author Share Posted January 9, 2023 Thanks for all of your help @creedon! creedon 1 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