Archived topic
Price range filtering – Breaks the header
23 replies · Started by retroreiz on July 26, 2019
Hello everybody,
currently I have the problem that the price filter destroys the header area.

https://i.ibb.co/tcy13Dm/break-header.png
Other filter properties do not destroy the design, only after price filters caused the problem.
I strongly assume that the filter plugin causes this problem.
How can I tell the header in the element area of GeneratePress that if price is being filtered, then does the normal header area have to be taken?
Thank you in advance. Greetings Andreas
Hi there,
I'm not sure if I fully understand.
Are you hoping to hide the site header overall?
Hi Leo,
Sorry for the misunderstanding. I'll try to explain it again.
This is what it should look like when you filter for something (right):
https://i.ibb.co/QjJSbHj/2019-07-27-16-04-44-Window.png
So it looks like if you filter for a price (wrong):
https://i.ibb.co/DkFrQ0J/2019-07-27-16-06-05-Nintendo-Archive-Retro-Reiz.png
Basically, the filter function works correctly. The header looks right on all pages. However, only if i filter for the price, the header image is swallowed.
I hope so it is better to understand what I mean.
Best regards.
Andreas
What display rules are you using for that header element?
What if you set to product archive?
Let me know :)
Hi Leo,
here the display rules in my elements:
https://i.ibb.co/GvtdBBY/elements.png
https://i.ibb.co/Z65zXYF/elements2.png
Greetings, Andreas
Just for a quick test, does it work if you use Entire site for the display rules?
Hi Leo,
I've tried everything now. Also on Entire site, but that did not bring any improvement. As if there would not be this page and he does not know what kind of header to use.
I have a test installation. Do you want to look at it, maybe I missed something?
Greetings and Thanks, Andreas
Hi there,
Access to a staging/test installation would be great! It looks like the Element doesn't know if it should display when those filters are active.
You can send login details through our Account Issue form: https://generatepress.com/contact
Hi Tom,
i send you the login details for the staging installation.
Thank you :)
Greetings, Andreas
Hi there,
I just tried to replicate this on my install, but it works as it should. Can you try:
1. Disable all of your other Header Elements. Any change?
2. If not, disable all of your other plugins. Any change?
3. If not, can you install Query Monitor and let me know?: https://wordpress.org/plugins/query-monitor/
Thanks!
Hi Tom,
1. If I disable all elements and leave only one, then there is no difference. If I delete all elements then the header is white over all this, but that's probably normal.
2. If I deactivate the filter plugin of xforwoocommerce, then it works with the header again. Apparently the plugin expects a different header.
3. I have installed the "Query Monitor" plugin. Unfortunately I do not see where the problem is.
I hope you can help me with this somehow.
Greetings, Andreas
Hi Tom,
i look at the monitoring, and the only change then i aktivate the filter plugin, it at the request.
The header don´t work and filter plugin activate: https://ibb.co/SB1qwgS
The header work and the filter plugin deactivate: https://ibb.co/drFWdj5
Can you see anything wrong in the request?
Greetings, Andreas
So this plugin is causing it?: https://codecanyon.net/item/xforwoocommerce/23673114
What are you using it for?
Hi Tom,
i using the filtering function, badgets and product options function.
https://ibb.co/RjgTy1n - filter
https://ibb.co/b7pH7M2 - badgets and product options
https://ibb.co/TwhN1XB - the three plugins are activate
I know if I deactivate the filter plugin, the problem disappears. The other plugins do not cause the problem of xforcommerce.
Greetings, Andreas
Is it a specific feature in that plugin which is conflicting, or is it just the fact that it's activated (even without using any of the features)?
Just trying to get an idea of how it could be conflicting. It seems like the plugin is tricking WordPress into thinking we're no longer on the product archive page once the filter is used. It's possible that it's a bug directly inside that plugin.