Forums › Forums › Search & Filter Pro › Custom CSS code being lost on pagination
Tagged: custom css
- This topic has 20 replies, 2 voices, and was last updated 7 years, 6 months ago by Trevor.
-
Anonymous(Private) May 7, 2017 at 5:41 pm #107027
I’m using the Compact Audio Player plugin and using CSS to change the color of the player. I have a problem that when ever I do a search, the first page of results displays the formatting of the player correctly. When I go to any other page in the search results, I lose the color designated in the custom CSS of the audio player and the size of the audio player changes. It’s the same with Ajax on or off.
If you go here https://tunegorilla.com/royalty-free-music-store/ and do a search (or use any of the filters), the first page of search results will be correct. Go to any of other pages and you will see what I mean about the change in the audio player format.
Trevor(Private) May 8, 2017 at 2:00 pm #107216Sometimes it is correct, sometimes not. It is not a CSS error. The HTML code for the red one is different than for the grey one. There is stuff missing. Seems like some javascript is not working to create the extra bits. Use the inspector and you will see the difference in HTML structure.
Trevor(Private) May 9, 2017 at 7:40 am #107539I think I may have identified your problem. Your hosting. It is WP Engine.
The issue may be that WP Engine kills long queries (not time, but literally the string length of the SQL statement).
To disable it check out this other forum post
https://support.searchandfilter.com/forums/topic/killed-query-errors-in-log/#post-64826
Let me know how you get on.
-
AuthorPosts