Skip Navigation

[Resolved] I can not view selected item on drop down filter on front end

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user was unable to see the selected option in a dropdown search filter.

Solution:
It turns out that the theme was setting high padding on select fields, which hides the text of the options.

This support ticket is created 3 years, 9 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: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by avansisI-2 3 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#2011939
Captura de pantalla 2021-04-06 a las 12.28.01.png

Hello,

I have a drop down filter that when users select the item, the item will not display.

I attach the problem that i told

I checked the CSS and i think that is okay

Can you help me?

Thank you

#2012095

Hello and thank you for contacting the Toolset support.

I assume that you are talking about the form on this page, right? hidden link
If that's the case, the issue is coming from the block's custom style. It has a 30px padding-top and bottom, check this screenshot hidden link
These paddings make the text take a height of 0px. Customize the block's styles to fit the design you want to have.

Please note, that the first option is empty, it won't display anything.

#2012435

My issue is resolved now. Thank you!