Hi, I’m using the Impulse theme and suddenly got this error:
“Broken HTML has been detected in your theme’s sections/featured-collection.liquid file.”
I have three Featured Collection sections on my homepage, but only the first (top) one displays. If I drag another to the top, that one appears instead. Also, my Testimonials and Promotional Grid sections are not showing anymore.
I haven’t changed or edited any code — this started happening suddenly. Please help fix this.
1 Like
Hey @HushPremium
Thanks for posting this to the Shopify Community.
The “Broken HTML detected” error in your sections/featured-collection.liquid file usually means there’s a missing or misplaced HTML tag (like <div>, </section>, or {% endif %}) that breaks the layout.
Even if you didn’t edit the code recently, this can happen after:
-
A theme update or app installation that modified files automatically
-
An incomplete save or sync from Shopify
-
A small typo in the theme editor’s custom HTML blocks
Here’s what you can try:
-
Go to Online Store → Themes → Edit Code → sections → featured-collection.liquid
-
Click Older versions (top right corner) and restore a previous version from when your site was working fine.
-
Save, refresh your homepage, and check if all Featured Collection and Testimonial sections appear again.
If the issue continues, please share your store URL and password (if applicable) so I can inspect the code and provide the corrected version of the file.
Waiting to hear back from you. If this was helpful, don’t forget to like it and mark it as a solution.
Thanks
Hi @HushPremium
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
Best regards,
Devcoder 