Skip Navigation

[Resolved] Result do not show Divi styling fully

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

Problem: When I filter a View with AJAX, the first result isn't styled correctly.

Solution:
There is an issue with iterative CSS class names Divi must resolve. Until then, it's best to disable AJAX updates and apply styles with CSS instead of applying module styles in the Content Template with Divi Builder.

This support ticket is created 6 years, 1 month 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1136036

MC

Dear,

I have made a custom search using post relation and taxonomies. All are working good, the filtering etc. I use the Divi theme, so i have setup a layout. The problem is, when generating the results, the first post on the archive page is not styled using the Divi layout i made.

If i refresh the first post gets the layout. But also, there are tabs, when i press a tab, it jumps to the top the page, sometimes when i refresh, it shows the right content of the tab, but this thus is also not working ok.

I checked cache etc. but no luck. Can you check what is wrong?

This is the site/page:
hidden link

Login:
See below.

Also on this page: hidden link
you see the post relation filter (states/cities). Is it possible when i first open the page, only to show the post relation filter and not the taxonomy filter yet.

I want to show the taxonomy filter only when i have selected a state and city and it generated the results. It that possible, if yes, how?

Thanks for now.
Harold

#1136249

Hi,
We've seen some similar issues related to Divi module styles being applied to iterative class names. When Views updates search results with AJAX, it's not really possible for us to keep these iterative class names in sync with Divi's CSS. A couple of other tickets about similar issues:
https://toolset.com/forums/topic/results-of-filters-not-showing-properly-with-ajax/
https://toolset.com/forums/topic/styling-issue-with-custom-search-in-child-views-and-divi/

One easy fix is to turn off AJAX updates for this View. Otherwise, it's best to remove special styles from the Divi Builder modules and apply them manually with CSS.

#1136337

MC

Ok, i will check it out.

And the answer on mine second question? See again:

Also on this page you see the post relation filter (states/cities). Is it possible when i first open the page, only to show the post relation filter and not the taxonomy filter yet.

I want to show the taxonomy filter only when i have selected a state and city and it generated the results. It that possible, if yes, how?

#1136845

We have a one topic per ticket policy, so I have split your question about filters into another ticket. We can follow up there.

#1136854

MC

Ok, thx, didn't know. This one can be closed.

thx

#1136990

Great, thank you! You can mark this ticket as resolved with your next reply.

#1137418

MC

My issue is resolved now. Thank you!