wpsl_max_dropdown_height

  1. Description
  2. Usage
  3. Changelog
  4. Source File

Description

This filter allows you to set the maximum height for the styled dropdown filters. If the dropdown requires more space, then a scrollbar is shown.

The default maximum height is set to 300 px.

Usage

This example sets the maximum height to 200 px:

Changelog

Since 2.2

Source File

This filter is located in /frontend/class-frontend.php.

Placement

The code needs to be placed in the functions.php file inside your active theme folder.