Skip Navigation

[Resolved] Dropdown filter does not display the selected value

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

Problem:
The user has built a taxonomy filter on a view, but it does not keep the selected taxonomy term.

Solution:
It turns out that this is an issue from the theme's styles. Fixed with custom CSS code.

This support ticket is created 4 years, 4 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 alperenK 4 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#1798647

Sure 🙂 on the frontend page (search area):

hidden link

Backend:
hidden link

is a taxonomy search field "Sprachen". The problem is that it does not show me the selected option (default "Alle", or when I select to another language. The View loop is refreshing correctly but the selected Language field (Sprache) shows empty.

#1798649

This is also a styling conflict with the theme, but this time with the "MemberWunder PRO" plugin too. The plugin sets higher padding than what the theme expects.

Check this screenshot with the TwentyTwenty theme: hidden link

And check how the theme styles a dropdown select: hidden link

Then check the higher padding set by the plugin: hidden link

Finally, I was able to fix this by adding the following style to the view:

select.form-control{
   padding: 5px 12px !important;
}
#1798701

My issue is resolved now. Thank you!