Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Alignment of Search Settings
- This topic has 17 replies, 2 voices, and was last updated 6 years, 1 month ago by
Ernest Marcinko.
-
AuthorPosts
-
August 27, 2019 at 3:08 pm #23768
statusstay04
ParticipantHello,
I’d like to center my search settings underneath the search box. Where you see the 3 filters, “Filter by Chain” and so on, those should all be centered underneath the search box.
Screenshot attached of what I’m referring to. I’d also like the search and search settings fonts to match.
Thank you!
LisaAugust 28, 2019 at 8:24 am #23790Ernest Marcinko
KeymasterHi!
Can you please link me to a page where the search is visible? Optimally the container should be centered, but it might be possible to do this via custom CSS.
August 28, 2019 at 8:26 am #23791statusstay04
ParticipantYou cannot access this content.
August 28, 2019 at 11:40 am #23806Ernest Marcinko
KeymasterHi,
Well, this custom CSS should do the trick:
.asp_sb { margin: 0 auto !important; }August 28, 2019 at 12:52 pm #23810statusstay04
ParticipantHi, I added that code to Custom CSS in theme and styling section and doesn’t seem to be working.
Also, I turned on the option to not show author in search results, but I still see it – is that a bug?
Thank you!
August 29, 2019 at 8:49 am #23828Ernest Marcinko
KeymasterHi,
Try this variation then, I think it will work:
form.asp-fss-flex { justify-content: center !important; }Do you mean the author field on the results page? Unfortunately the plugin cannot control that, you might have to find an option on the theme customizer, or ask the theme author on how to remove that.
April 9, 2020 at 5:54 pm #26674statusstay04
ParticipantYou cannot access this content.
April 14, 2020 at 9:33 am #26692Ernest Marcinko
KeymasterHi,
The container of the settings is now set to an absolute (floating) position, which is a problem when trying to center it. Please change that to block first. The default (floating) position is changed via the script to accomodate the search bar position, so that won’t work in this case. Chances are, that will almost certainly fix the issue immediately.
For the logic issue I will need temporary FTP access, the timeout error is usually related to some conflict with something else. The only way to debug that is via debugging the queries to see where it fails, thank you!
April 20, 2020 at 8:58 am #26810Ernest Marcinko
KeymasterYou cannot access this content.
April 20, 2020 at 9:31 am #26815statusstay04
ParticipantYou cannot access this content.
April 20, 2020 at 2:39 pm #26818Ernest Marcinko
KeymasterHi,
Thank you, I was able to debug through the queriy.
I may have fixed the issue, but it was not plugin related. The post meta table was very defragmented, and the query just failed. I have run a table optimize query manually, it should be working now.
April 20, 2020 at 2:57 pm #26819statusstay04
ParticipantThank you! That part definitely seems to be working better now. I will keep testing and let you know if I find any issues (I’ve updated the filter algorithm to “AND” to look at all filters when pulling results).
April 20, 2020 at 2:58 pm #26820statusstay04
ParticipantRight now I have 3 filters: Chain, Brand, Country. Ideally when a user chooses United States as a country, they would then have the ability to choose State, but ONLY when they chose US as a country (otherwise grayed out and doesn’t appear).
Alternatively, if a user chose Italy as a country, there would be a filter that would show only the cities in Italy (vs all cities in the world).
Are either of these options possible?
April 21, 2020 at 8:29 am #26821Ernest Marcinko
KeymasterI’m afraid no. You can make the filters required, but not chained or dynamically dependent on each other.
April 21, 2020 at 8:53 am #26822statusstay04
ParticipantIs this a feature on the roadmap for the future and/or would this be possible with a customization request?
-
AuthorPosts
- You must be logged in to reply to this topic.