Skip Navigation

[Resuelto] Filter and style in DIVI

This support ticket is created hace 4 años, 11 meses. 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Etiquetado: 

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Francisco Ramón Molina Busquiel hace 4 años, 11 meses.

Asistido por: Nigel.

Autor
Mensajes
#1402527
filter.png

Hi,

enlace oculto
I have included your styles on this page:
https://toolset.com/documentation/recommended-themes/toolset-divi-integration/matching-divi-styling-using-toolset/#toolset-forms-limitations
But there is no difference. 🙁
How can I style the filter controls to take the appearance of DIVI?
Also, how to put a spacing with respect to the table below.
Look at the screenshot.

Thanks for your help.
Regards,

#1402893

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

The linked documentation refers to how to give some basic styles to Form elements when Bootstrap is disabled.

It does not, and does not intend to, show you how to style form elements so that they match the styles of your theme.

It looks like you modified the default markup in your View search and pagination section, which normally adds the filter controls inside divs with class="form-group", but which are missing from your page. Those custom styles in the linked documentation assume the default markup, and the form-group class is given a bottom margin of 15px which would separate the filter controls from the results below.

You can replace this with some custom CSS of your own, as required.

For styling form elements to match your theme styles generally you would want to create a test page where you insert something coming from Divi's page builder that adds similar form elements (i.e. select dropdowns), and then use your browser dev tools to inspect the markup and the style rules from the theme that apply to them.

You can then try to reproduce the same with the select dropdowns added by Toolset.

Depending on what you find, you may be able to modify the class names or other markup where the select filters are inserted to correspond with the Divi styles.

You only have limited control over the markup generated by the filters, so if that is not possible you can instead look at the details of the theme style rules and add your own custom CSS to reproduce the same based upon the markup generated by Toolset.

#1402959

Ok. Thanks Nigel.