Searchbar UI fails on first page load

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Searchbar UI fails on first page load

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #40488


    first of all: I enjoy your plugin!

    But now that I implemented it, everytime I click this link for the first time or navigate thru the menu to this site (Menu: Doxxed Projects), the UI of the search plugin is broken. When I reload the page, everything looks good again.

    How to make it look good right from the start?



    You must be logged in to view attached files.
    Ernest Marcinko
    Ernest Marcinko

    Hi Michael,

    Sure! The issue is caused by the theme live loader feature. When I switch to the “Doxxed projects” menu, the page does not reload, but instead the theme script live loads the page, and injects it into the current content. It is a very generic loader and it unfortunately it does not check for header changes, so it does not add the stylesheets from the loaded page, and the search appears to be broken.

    Luckily we have dealt with similar issues. I have logged in and changed the following options:
    This resolves the issue by loading the stylesheets and scripts preemptively, so it is no longer missing from the headers.

    Ernest Marcinko

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.