Skip Navigation

[Resuelto] change the visual aspect of the selected taxonomy in the filter

This support ticket is created hace 7 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Luo Yang hace 7 años.

Asistido por: Luo Yang.

Autor
Mensajes
#591819
02-taxonomy-select-css-change.jpg
01-taxonomy-select-now.png

Tell us what you are trying to do?

I want to change the color of the text or background with CSS in the selected taxonomy filter so that it is clearly displayed what the user selects
The filters have this format

[wpml-string context="wpv-views"]Tipo inmueble[/wpml-string]</label>[wpv-control-post-taxonomy taxonomy="tipo-inmueble" type="select" default_label="Tipo Inmueble" url_param="wpv-tipo-inmueble"]

Is there any documentation that you are following?
no

Is there a similar example that we can see?
enlace oculto

What is the link to your site?
enlace oculto

#591900

Dear Ana,

There isn't such a built-in feature within Views plugin, it need custom CSS codes, I searched in google and fount some related threads:
https://stackoverflow.com/questions/2402146/html-select-selected-option-background-color-css-style
https://stackoverflow.com/questions/7208786/how-to-style-the-option-of-a-html-select
For your reference