AndreasOrntoft Posted March 9, 2023 Share Posted March 9, 2023 Hi guys I have a scrolling blog section on my home page, however the photos won't show the first time you enter the site or if you enter the site using incognito. Not sure what the problem is. Does any of you have a solution? Link to comment
Ziggy Posted March 9, 2023 Share Posted March 9, 2023 Can you share your website URL? Thanks! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
AndreasOrntoft Posted March 9, 2023 Author Share Posted March 9, 2023 https://letdialog.dk/ Link to comment
paul2009 Posted March 9, 2023 Share Posted March 9, 2023 (edited) On 3/9/2023 at 7:51 AM, AndreasOrntoft said: I have a scrolling blog section on my home page, however the photos won't show the first time you enter the site or if you enter the site using incognito. Not sure what the problem is. Please report this issue to Squarespace. Some strange things are happening with the image focal points on your site. The focal point should contain two numbers between 0 and 1 but are shown as NaN ("not a number") or simply "," without any digits: This is either happening because of custom code that you have added to the site, or because of a Squarespace bug, but it hasn't been reported by anyone else yet. Did this help? Please give feedback by clicking an icon below ⬇️ Edited March 20, 2023 by paul2009 edited for clarity Ziggy 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
AndreasOrntoft Posted March 9, 2023 Author Share Posted March 9, 2023 Thanks Paul. However the support team claim that they fix it by disabling scripts in preview and that it is caused by custom code which they don't support. The thing is, that I don't believe it is caused by custom code. Don't know what to do from here... Link to comment
paul2009 Posted March 9, 2023 Share Posted March 9, 2023 18 minutes ago, AndreasOrntoft said: However the support team claim that they fix it by disabling scripts in preview and that it is caused by custom code which they don't support. The thing is, that I don't believe it is caused by custom code. You can test this for yourself by removing the custom code (save it somewhere safe!). Once removed, you can then test the site from an incognito window to see if the problem occurs. If the problem remains with no custom code, you can go back to the support team and explain this. If the problem goes away when the scripts have been removed, you'll know that the custom code is the issue. You can then add the code back in, one script at a time until the problem occurs again. Be sure to close all incognito windows before retesting. This should allow you to identify which script is causing the issue. Did this help? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
AndreasOrntoft Posted March 9, 2023 Author Share Posted March 9, 2023 I might have found the issue. I have a cookiebot installed in the footer, and if I disable that, the issue disappears. It is very important that we have the cookiebot enabled, can we some how work around that? Link to comment
paul2009 Posted March 9, 2023 Share Posted March 9, 2023 23 minutes ago, AndreasOrntoft said: I have a cookiebot installed in the footer, and if I disable that, the issue disappears. It is very important that we have the cookiebot enabled, can we some how work around that? If the cookie consent tool is causing the issue, you're probably using it to disable cookies that are essential for the site to run correctly. I recommend that you check that none of the functional and required cookies are being disabled in your tool's settings. Did this help? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
AndreasOrntoft Posted March 20, 2023 Author Share Posted March 20, 2023 Hi again Paul. I have now been in contact with CookieBot, as I found out that it was my CookieBot causing the issue. The problem seems to be, that CookieBot somehow blocks the photos in the blog-carussel. The support from CookieBot asked me to put the CookieBot CMP Script first to load in the Head-section. I did that, but the supporter told me, that the script wasn't first to load but that it was placed as number 25. Do you know, how that can be? He also asked me to remove "defer" from the script below, however I can't seem to find the script in my head- or foot section... I think I found the culprit which is the defer attribute in the following script: <script defer="defer" src="https://static1.squarespace.com/static/vta/5c5a519771c10ba3470d8101/scripts/site-bundle.70f4ad0dab6e9e67e5f2e237b4b30098.js" type="text/javascript"></script>. If you remove defer="defer" from the script, it should work as intended. Link to comment
paul2009 Posted March 20, 2023 Share Posted March 20, 2023 1 hour ago, AndreasOrntoft said: CookieBot asked me to put the CookieBot CMP Script first to load in the Head-section. He also asked me to remove "defer" from the script below. Sadly, you are being asked to change things over which you have no control on Squarespace. You cannot add code to the start of the head section (it will be inserted into a fixed position within the head section) and you cannot remove the defer attribute from Squarespace's own code. Unless other forum users have suggestions, it sounds like you will need to speak to someone at CookieBot who knows Squarespace well (they'll have access to the account to troubleshoot this), or you may want to try a different cookie consent tool that is known to work well with Squarespace. Personally, I'd use CookieScript, but it will obviously depend on your requirements. Did this help? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? 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