Adding spacing (padding/margin) to a “Clear Selections” filter link on a Shopify collection page. The link was added in collections.filters.tags.liquid, but it sits directly atop the filter menu with no line space.
A screenshot is central, showing the “Clear Selections” link immediately above the filter menu.
Outcome: No working code or finalized solution yet. Next needed step is correct CSS targeting (e.g., the link’s class) to add margin or padding below the “Clear Selections” element. Discussion remains open.
Hi, I have used code below to add Clear All option to my filters. Only issue is that it appears directly on top of the filter menu, and I want to add a line space between them. Can anyone help with the code? I’ve added it in collections.filters.tags.liquid file.