Replacing search bar causes a frontend problem when there are no results
-
Hi Guys! I’ve just installed the theme and i’m testing some plugins. I’m replacing the search bar for fibosearch or ajax search pro, and they work great out of the box. There is only one problem. The search bar is repeated on the results when the search results are 0. take a look in attached file. (red bar with “amd” criteria)
Attachments:
You must be
logged in to view attached files.
Hello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Best Regards.
yes i’ve tested in with other theme, and in other site, and they work fine, it seems to be something about woodmart
Hello,
Please use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS section:
.search-no-results .no-products-footer {
display: none;
}
Best Regards.
worked like a charm! tnx!!
Most Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘Replacing search bar causes a frontend problem when there are no results’ is closed to new replies.