Hi support, I have a problem with the results. I have some filters on the main page. When I click on the filter, it sends me to the results page that I have assigned, but it appears aligned to the left. But when I refresh with F5 it is fixed. Could you help me so that it appears correctly from the beginning?
I am sending a video so you can understand what I am trying to say.
Support
left aligned results
Latest post by jonathan.mendivel on Thursday, 23 January 2025 17:05 EET
Hi
May I ask how are you loading the filtering module in your home page?
Did you assign it to a module position or load it within the content/component area?
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi, it assigns it to a "right" module position
Hi
I cannot say for sure.
Did you do any template override of the module, where you changed top level html classes and ids?
If you have a url, where I can see that, it would help.
Regards,
Sakis Terzis
Founder and Lead Developer
Hello,
I have not made any changes to the module template,
the module is in the home page, this is the link
https://manacelestial.org/es/
it is on the right position, if I do any search it goes to the right, but if I update (F5) the problem is solved, it is a strange problem, it should look good from the start, but it doesn't
Hi
As far as I can see you are using SP Page Builder and the module is possibly loaded in a wrapper through that Builder.
The module is part of the component area (id: jf_results) and is not loaded in a module position.
As a result when JF updates the component area with the results, the module is being lost.
When you refresh the page, you are no longer in your home page, but in the results page (i.e. JF menu item).
In that page the module is not part of the page's component area.
Btw. I have no much idea of how SP Page Builder works, but this is what I see.
If you cannot solve that in a template level, a workaround would be to create a "JFilters Filters" module that has ajax disabled and use it ONLY in your front-page. And use the other instance which works with ajax in the JF results page.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi support, I disabled ajax in the module and now it works fine, thanks.