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 month, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40488
    vadder1357
    vadder1357
    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

    Attachments:
    You must be logged in to view attached files.
    #40499
    Ernest Marcinko
    Ernest 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.

    Best,
    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.