Skip Navigation

[Gelöst] Filter and style in DIVI

This support ticket is created vor 4 Jahren, 12 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Francisco Ramón Molina Busquiel vor 4 Jahren, 12 Monaten.

Assistiert von: Nigel.

Author
Artikel
#1402527
filter.png

Hi,

versteckter Link
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

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: 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.