Layout shifts can be troubling, especially if they affect your site’s user experience. If Swatch King is contributing to layout shifts, it might be due to initial theme swatches loading before being replaced by our app's swatches. Here are a couple of workarounds:
Direct Solution: Contact our support team to assist in hiding your theme's default swatches. This ensures that only Swatch King's swatches are loaded when the page opens, reducing layout shifts.
Technical Workaround: Implement a
<div>
container with a fixed height to house our swatches. This maintains a constant layout during page load. Our team can guide you through setting this up correctly to minimize layout shifts.
For assistance with either workaround, reaching out to our customer support team is the best course of action. They’re equipped to help tailor Swatch King to your store’s specific needs and resolve any technical issues you encounter.