Marta
Forum Replies Created
-
Hi Marco,
You can use the
fibosearch/show-pre-suggestionsevent for that. Take a look at our documentation: https://fibosearch.com/documentation/developers/javascript-events/. However, we can’t help with implementing this feature.Regards,
MartaHi Marco,
Is this a screenshot of FiboSearch? If yes, it seems to be highly customized – the layout is different and there’s a “Popular suggestions” section, which FiboSearch doesn’t provide. Please check if there’s any custom code on your website that could be adding pages to the search. FiboSearch Free doesn’t support this.
Regards,
MartaHi,
If you’re using Flatsome, you can edit the header and add the FiboSearch icon there. Go to Appearance > Customize > Header > HTML, add an HTML element to the header and paste the following shortcode there:
[fibosearch layout="icon"].Please take a look at this screenshot: https://ibb.co/TDK5yBD0
Let me know if you have any questions!
Regards,
MartaHi Ayesha,
If the problem occurs for logged-out users, it’s most probably caused by caching or optimization. What caching/optimization plugin are you using? What are its settings?
Please try excluding these two files from JS optimization:
/wp-content/plugins/ajax-search-for-woocommerce/assets/js/search.js
/wp-content/plugins/ajax-search-for-woocommerce/assets/js/search.min.jsDoes this help?
Also, you mentioned that this happens in the recent version of FiboSearch. Was it ok before, with an older version?
Looking forward to hearing from you!
Regards,
MartaHi,
Sorry, the code I pasted here got changed when I submitted my reply, and it’s broken. Please use the following code instead: https://pastebin.com/6g3HnBsE. The only difference is the last part.
Please let me know how it goes.
Regards,
MartaHi,
Please check if the following code helps:
add_action( 'wp_footer', function() { ?>
<style id="fibosearch-style"></style>
<style>
.dgwt-wcas-suggestions-wrapp {
max-height: calc(100vh / 2) !important;
overflow-y: scroll;
}
</style>
<script>
document.addEventListener('fibosearch/show-suggestions', moveSearchResults);
document.addEventListener('fibosearch/no-results', moveSearchResults);
function moveSearchResults() {
const searchResults = document.querySelector('.dgwt-wcas-suggestions-wrapp');
const activeSearch = document.querySelector('.elementor-popup-modal .dgwt-wcas-active');
const styleEl = document.getElementById('fibosearch-style');
if (!searchResults || !activeSearch || !styleEl) return;
const topS = activeSearch.getBoundingClientRect().top + window.scrollY;
const heightS = searchResults.offsetHeight;
const newTop = topS - heightS;
styleEl.textContent =<br> .dgwt-wcas-suggestions-wrapp {<br> top: ${newTop}px !important;<br> }<br>;
</script>
<?php } );It should:
- move the search results above the search bar. This will work only for the search bar in the popup.
- set the max height of the search results to half the height of the screen,
- add the scrollbar.
You have two ways to add this code to your theme:
- open the functions.php file in your child theme and add the code at the end,
- or install the Code Snippets plugin and apply this code as a snippet.
I hope this helps!
Regards,
Marta- This reply was modified 2 months, 2 weeks ago by Marta.
Hi Jake,
Do the images for translated products appear properly on the shop page, or are they replaced with placeholders? Are you using FiboSearch Free or Pro? What are your settings in WPML > Settins > Media Translation?
Regards,
MartaHi,
Thanks! As far as I can see, the Breakdance search icon can be hidden with the following CSS:
.bde-search-form { display: none; }You can add it in Appearance > Customize > Additional CSS.
Please let me know if this works for you.
Regards,
MartaForum: Reviews
In reply to: [FiboSearch - Ajax Search for WooCommerce] Thank you.Hi,
I’m sorry to hear about your bad experience! We replied to all your messages, and tried to contact you from different email accounts, but it seems that none of our messages reached you. Please check your spam folder, and if there’s nothing there, please contact your hosting provider, as there might be problems with your email server.
We issued a refund on Wednesday.
Kind regards,
MartaHi,
What theme are you using? Where does the default search icon come from? How do you add the search icon to the header? I will need to reproduce the problem on my end to come up with a solution.
Looking forward to hearing from you!
Regards,
MartaHi,
If the search results on the search results page are different from the ones in the autocomplete, this may indicate a conflict with another plugin or some custom code. I can see that you’re using filters on the shop page. Are you able to deactivate them for a moment and check the search page then?
If this doesn’t help, please deactivate your other plugins (except FiboSearch and WooCommerce) until you find the conflicting one. Perhaps we could then be able to prepare a solution for you.
Looking forward to hearing from you!
Regards,
MartaForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] search character text limitHi prabhu,
You can change the limit in WooCommerce > FiboSearch > Search bar > Minimum characters. If you don’t see this setting, make sure the “Show advanced settings” option at the top of the page is enabled.
Regards,
MartaHi Andrius,
FiboSearch can’t recognize if it’s on a light or dark background. You can use CSS to change the icon color:
@media screen and (min-width: 960px) {
body:not(.menu-force-opacity):not(.navbar-hover) .style-dark-override:not(.is_stuck:not(.menu-desktop-transparent)):not(.is_mobile_open).menu-transparent .menu-horizontal-inner > .nav > .menu-smart > li .dgwt-wcas-ico-magnifier-handler path {
fill: #ffffff !important;
}
}
@media screen and (max-width: 959px) {
body:not(.menu-force-opacity):not(.navbar-hover) .style-dark-override:not(.is_stuck:not(.menu-mobile-transparent)):not(.is_mobile_open).menu-transparent .mobile-additional-icons .dgwt-wcas-ico-magnifier-handler path {
fill: #ffffff !important;
}
}Add it to Appearance > Customize > Additional CSS.
This will change the color of the icon to white on dark backgrounds.
You can also set the initial color of the icon to grey (#6D6D6D), so that it matches the other icons. This can be done either in FiboSearch settings (in the “Search bar” tab), or – if you’ve added the icon to the menu – in Appearance > Menus.
Regards,
MartaHi,
I see you’re using FiboSearch Pro. This forum is only for users of the free version. For Pro support, please contact us here: https://fibosearch.com/contact/
Regards,
MartaForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Search by newest productsHi,
I see you’re using FiboSearch Pro. This forum is for free users only. For Pro support, please contact us here: https://fibosearch.com/contact/
Regards,
Marta