Alignment of Search Settings

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Alignment of Search Settings

This topic contains 17 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 years, 3 months ago.

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #23768
    statusstay04
    statusstay04
    Participant

    Hello,

    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!
    Lisa

    Attachments:
    You must be logged in to view attached files.
    #23790
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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.

    Best,
    Ernest Marcinko

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


    #23791
    statusstay04
    statusstay04
    Participant
    You cannot access this content.
    #23806
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Well, this custom CSS should do the trick:

    .asp_sb {
        margin: 0 auto !important;
    }
    Best,
    Ernest Marcinko

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


    #23810
    statusstay04
    statusstay04
    Participant

    Hi, 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!

    #23828
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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.

    Best,
    Ernest Marcinko

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


    #26674
    statusstay04
    statusstay04
    Participant
    You cannot access this content.
    #26692
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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!

    Best,
    Ernest Marcinko

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


    #26810
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

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


    #26815
    statusstay04
    statusstay04
    Participant
    You cannot access this content.
    #26818
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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.

    Best,
    Ernest Marcinko

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


    #26819
    statusstay04
    statusstay04
    Participant

    Thank 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).

    #26820
    statusstay04
    statusstay04
    Participant

    Right 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?

    #26821
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I’m afraid no. You can make the filters required, but not chained or dynamically dependent on each other.

    Best,
    Ernest Marcinko

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


    #26822
    statusstay04
    statusstay04
    Participant

    Is this a feature on the roadmap for the future and/or would this be possible with a customization request?

Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.