Jump to content

Code Block Not Appearing On Page

Go to solution Solved by paul2009,

Recommended Posts

Posted

I have a Give Lively donation widget added to a site at https://www.skagitonians.org/donate-membership. The widget code block is appearing most of the time but sometimes when accessing the page from the navigation (Join + Give / Donate & Membership), the code does't appear unless refreshing the page. This happens most often on PC but has happened on Mac across Safari, Chrome and Firefox browsers. This is problematic as donors may not see the donation form when they arrive on the page. Any idea what could be causing this? Thanks!

Posted (edited)

Could be a loading issue, I could not duplicate the problem on Chrome, but it did happen with Edge. Do you have code installed to make the folder clickable? Edge will ignore code or doesn't load it correctly sometimes. I have a custom mouse cursor on one set of blog pages, Edge ignores it all the time. If you are using code, I suggest you post that snippet, and the coders here may see where it can be modified to fix this for you. 

Edited by derricksrandomviews
  • Solution
Posted (edited)
6 hours ago, mackenzieu said:

I have a Give Lively donation widget added to a site at https://www.skagitonians.org/donate-membership. The widget code block is appearing most of the time but sometimes when accessing the page from the navigation (Join + Give / Donate & Membership), the code does't appear unless refreshing the page.

This is because the Give Lively donation code is not compatible with the Ajax Page Loading feature that is enabled by default on this site (Brine-family template on Squarespace 7.0).

For this code to work, you'll need to disable Ajax Page Loading in Site Styles.

See my guide Why does code only work on refresh? for a more in-depth explanation.

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.