Skip Navigation

[Resolved] With a Custom Earch Filter (for Taxonomy), I want the multi-select box larger

This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by pierreV-2 7 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#525547
Sportsintheuae-archive with search.png

Hi,

I am trying to: have a good looking custom search filter on my archive page. I have chosen to create a multi-select filter though only 2 lines at a time appear. Is it possible to either have more lines appearing or even better having it appear larger as a kind of dropdown filter (which closes after selection)?
I have WP Types working with the Avada theme.

I visited this URL: hidden link

Filter Editor:

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<h3>Customise your search by selecting one or more sports and the Emirate.</h3>
<small>(For multiple selections, ctrl & select)</small><br>
[wpml-string context="wpv-views"]Sports:[/wpml-string] [wpv-control taxonomy="sport" url_param="wpv-sport" type="multi-select" hide_empty="true"]
[wpml-string context="wpv-views"]Locations:[/wpml-string] [wpv-control taxonomy="location" url_param="wpv-location" type="multi-select" hide_empty="true"]
[wpml-string context="wpv-views"]Active in:[/wpml-string] [wpv-control field="active-in" url_param="active-in" type="multi-select" hide_empty="true"]
[wpml-string context="wpv-views"]Type of organisation:[/wpml-string] [wpv-control taxonomy="type-of-organisation" url_param="wpv-type-of-organisation" type="checkbox"  auto_fill="wpcf-type-of-organisation" auto_fill_sort="asc"]
[wpv-filter-reset reset_label="Clear" type="button"]
[wpv-filter-submit name="Search" type="button"][wpv-filter-spinner container="div" position="after" spinner="<em><u>hidden link</u></em>"][wpml-string context="wpv-views"][/wpml-string][/wpv-filter-spinner]
[/wpv-filter-controls]
[wpv-filter-end]
#525595
larger.JPG

Dear Pierre,

I think it needs a little custom CSS codes, for example:

select.js-wpv-filter-trigger{
width: 100%;
    height: 80px;
}

See screenshot larger.JPG

#526098

Thanks, that worked!