Show more facet items if requested

  • pseudo visitor
    Participant
    5 years, 7 months ago #6820

    Could you add an option on the facets to show an limited amount of facet items, but let the visitor see more if requested?

    Like a button “see more” for instance.

    wpsolr
    Keymaster
    5 years, 7 months ago #6821

    This is a very reasonable demand indeed for websites with lots of facet content, like with product attributes colors for instance.

    It can be done with some css, by adding an
    overflow: scroll;

    (This will add a scrollbar to the facet)

    See https://developer.mozilla.org/fr/docs/Web/CSS/overflow

    Or, more simply, you could use the select box, or even select2 box, layout on your facet.

    Facet with Select2 layout

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.