Reply To: website shifts position when using exsisting search field

Home Forums Product Support Forums Ajax Search Pro for WordPress Support website shifts position when using exsisting search field Reply To: website shifts position when using exsisting search field

#6698

Ernest Marcinko
Keymaster

Hi!

Yes, that should fixed the https issue. The cause was the fact that when you save the search options, the CSS files are dynamically generated and the actual plugins_url() function result is used. At that time it returned the “http:” version. The site url was changed afterwards, but the stylesheets remained the old version. Once you de-activated the plugin these stylesheets are automatically re-generated. In case of any change it's enough to save the search options, and the CSS files will be re-generated with the actual URL 🙂

What I noticed right now is that a blue hovering stuff appears when I focus the search input. It seems like the CSS fix I recommended is not sufficient. I've done some debugging and this worked for me:

.fixfixed {
    position: static !important;
}

I've also noticed an independent javascript error which blocks further JS execution in one of your files, namely: https://naturalhealthchoices.com.au/wp-content/plugins/social-marketing/js/twitter.js

The line twttr.events.bind('tweet', wdsm_twitter_callback); is causing a fatal error, the console reports that the twttr variable is not defined:

Uncaught ReferenceError: twttr is not defined

I recommend changing that line to:

if (typeof twttr != "undefined")
    twttr.events.bind('tweet', wdsm_twitter_callback);
Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)