Sauter la navigation

[Résolu] I can not view selected item on drop down filter on front end

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 3 années et 11 mois. 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)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par avansisI-2 Il y a 3 années et 11 mois.

Assisté par: Jamal.

Auteur
Publications
#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? lien caché
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 lien caché
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!