Items appearing twice after clicking the Load More button is typically due to misconfigurations in the Finsweet Attributes setup. Here’s a step-by-step guide to troubleshoot:
1. Verify CMS Structure
- Ensure that the CMS Collection List does not have any duplicate items inherently configured.
- Check that your initial collection settings are correct before applying any Finsweet Attributes.
2. Check Finsweet Attributes Setup
- Ensure that you have correctly implemented the Finsweet CMS Filter and CMS Load attributes.
- Confirm that the attributes are applied to the correct HTML elements in your Webflow project.
3. Review CMS Load Configuration
- Inspect the settings used for the Finsweet CMS Load attribute.
- Make sure the data-load-amount is correctly set to the number of items you wish to load each time.
4. Consider JavaScript Conflicts
- Check for any JavaScript conflicts that might cause the duplication of items when loading more content.
- Disable other scripts temporarily to see if the issue persists.
5. Inspect Webflow Published Site
- Publish your Webflow site and test the feature in a live environment, as sometimes these issues only arise outside the Designer.
6. Consult Finsweet Documentation
- Review the latest Finsweet documentation for any updates or changes in syntax that might affect your configuration.
- Look for specific examples related to pagination and filtering.
Summary
The doubling of items when using Finsweet Attributes' CMS Filter and Load is likely due to misconfigurations or conflicts in setup. Verify the CMS structure, review your Finsweet attribute setup, inspect for JavaScript conflicts, and ensure correct configurations in your published site.