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

Search button misalignment

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search button misalignment

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #44808
    crispdesigncrispdesign
    Participant

    Hello, I have added a search button to the bottom of my search dropdown but I can’t seem to get it to align to the right of the entire dropdown. It seems to be aligning with the first column and not the entire dropdown.

    #44812
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It’s a bit tricky, but still doable. It is a flex layout so some custom CSS is required. To get it to the right side, use:

    div.asp_w.asp_sb.searchsettings fieldset.asp_s_btn_container {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
    #44814
    crispdesigncrispdesign
    Participant

    Excellent! That worked! However, I was fiddling around with the plugin and I have the results opening in a search page, but now they are showing at the top of the search bar. I am not sure what changed, when you click search, I want it to open on the search page.

    #44829
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You are welcome!

    Make sure to check if the search button is set to redirect to the results page here: https://i.imgur.com/0MbB3Zl.png
    That should do the trick 🙂

    #44835
    crispdesigncrispdesign
    Participant

    Ah yes, that did the trick! Thanks…there are quite a few buttons and settings that I am still figuring out so I get lost sometimes! Really appreciate your help!!

    #44837
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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