Skip to content

Instantly share code, notes, and snippets.

View apardo04's full-sized avatar
🏠
Working from home

Adrian Pardo apardo04

🏠
Working from home
View GitHub Profile
@steveosoule
steveosoule / customizing-searchspring-facet-options.md
Created May 26, 2017 18:39
Customizing SearchSpring Facet Options

Search Spring Facet Customizations

About

SearchSpring's default AJAX display functionality does not give us direct access to the HTML that is used to render the facets, so we have to use their JavaScript API's function hooks to select the desired facet and modify it with JavaScript/jQuery.

Basic Changes

The Default SearchSpring facet HTML is typically a nested set of unordered lists like this: