This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

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

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

    Hi,

    first of all: I enjoy your plugin!

    But now that I implemented it, everytime I click this link https://testydaddy69420.bearmarket.io/doxxed-projects/ 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?

    Thanks!

    Best
    Michael

    #40499
    Ernest MarcinkoErnest Marcinko
    Keymaster

    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: https://i.imgur.com/beG4o5E.png
    This resolves the issue by loading the stylesheets and scripts preemptively, so it is no longer missing from the headers.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.