Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Some Contents Missing
- This topic has 22 replies, 2 voices, and was last updated 5 years, 4 months ago by
Alex Meda.
-
AuthorPosts
-
December 19, 2020 at 8:12 pm #30816
Alex Meda
ParticipantHi,
I hope your business is still running so well during these tough times.
On my side, we need your support to resolve This Issue and here is the page URL on which you will be able to reproduce the issue on One of our Staging SitesPlease let me know once you are successfully logged in
Thanks 🙂December 21, 2020 at 1:32 pm #30835Ernest Marcinko
KeymasterHi,
Thank you for the details. I checked the site, but I am seeing the bottom part on the home page: https://i.imgur.com/T7GEevP.png
Try clearing your site cache, it will probably resolve the issue.December 21, 2020 at 4:44 pm #30853Alex Meda
ParticipantHi,
I did cleared the cache for the last 7 seven days right away when it happened for the first time but the issue was still there. But now it is working fine. Do you have any idea why it wasn’t even though I previously cleared the cache ?December 22, 2020 at 11:07 am #30869Ernest Marcinko
KeymasterWell if there was maybe some sort of a custom CSS implemented or a browser extension active, those could also explain that. But I am almost a 100% sure it is the cache. Even if you clear your site cache, it does not neccessarily mean, that the browser will immediately get the new content, if previously cache expiration headers were defined – then the browser will keep serving the cached content. If there is a CDN as well, it may also complicate the things, as it delays the changes even more.
December 22, 2020 at 4:44 pm #30878Alex Meda
Participantok I understand a lot better now. Thanks a lot for the details and have some great holidays of the end of the year 🙂
December 23, 2020 at 9:30 am #30888Ernest Marcinko
KeymasterYou are very welcome 🙂 We wish you great holydays and a happy new year too!
December 23, 2020 at 4:17 pm #30899Alex Meda
ParticipantThanks take care 🙂
December 26, 2020 at 3:35 pm #30907Alex Meda
ParticipantYou cannot access this content.
December 28, 2020 at 2:42 pm #30913Ernest Marcinko
KeymasterThanks!
The issue on that case is, that the fixed header is covering up the search bar visibility. The problem with that, that it is not possible to detect, the plugin can only scroll to the window viewport. I’m afraid I cannot do anything about it.
You can try a custom function to croll after the animation completes, but I am not sure if it will do any good:
add_action('wp_footer', 'asp_custom_wp_footer'); function asp_custom_wp_footer() { ?> <script> jQuery(function($) { var t; $('.asp_main_container').on('asp_search_end', function(){ clearTimeout(t); var $this = this; setTimeout(function(){ $('body,html').scrollTop($('body,html').scrollTop() - 120) }, 740); }); }); </script> <?php }December 29, 2020 at 2:43 am #30925Alex Meda
Participantok thanks a lot for the code, I will try it and let you know how it goes.
meanwhile I would like you to load this page. I deactivated the automatic load of results but it’s not working.December 29, 2020 at 11:04 am #30929Ernest Marcinko
KeymasterThat i not the auto populate option, you can find it here.
December 29, 2020 at 11:19 pm #30933Alex Meda
ParticipantYou cannot access this content.
December 30, 2020 at 12:35 pm #30938Ernest Marcinko
KeymasterMake sure to set the search settings position to block. Also, check if this option is disabled on the mobile settings.
If you want to forcefully center the block layout, you can use this custom CSS:
.asp_sb form { display: flex !important; justify-content: center; }December 30, 2020 at 8:03 pm #30950Alex Meda
ParticipantHi,
I got the settings correct and things are working just perfectly as I expected 🙂Now my only concern is the No Results Issue. As I told you yesterday, I tried your custom code and it was not working yet…Do you have any other ideas please ?
Thanks for your time 🙂
January 2, 2021 at 10:31 am #30955Ernest Marcinko
KeymasterUnfortunately that is possibly the only way. I am not seeing that custom code on the linked page, so there still might be hope. Make sure to place it into the functions.php file in your active theme/child theme directory. After that, clear all layers of cache so it populates to the front-end.
-
AuthorPosts
- You must be logged in to reply to this topic.