Removing SKU's from Webflow search

I haven’t tested this, but you should be able to hide them with small bit of CSS.

If you add a class selector of Search Result Item on to the Search Result Item ( it may already be there ), it will be easier for the CSS selector to identify those elements. Try placing this in an HTML Embed on the page and see if it works. You might need to tweak it a bit.

<style>
.search-result-item:has(a[href^="/sku/"]) {
  display: none;
}
</style>

image

2 Likes