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

Change width of layout

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13160
    Danielz MaddzDanielz Maddz
    Participant

    Hello

    Fantastic plugin.

    When we enter text into a search box , it loads for a second and a little window appears with populated items below the search box.

    It always seem to have same width of search box

    I have four search boxes in one row in four columns

    How do we change the width of the little window/div ?

    I cannot find it in settings ?

    Image attached below to view issue

    Thanks

    #13169
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you very much for your kind words, it’s greatly appreciated!

    There is actually no option for that, the width of the results is always adjusted to the search box in hovering mode, but can be easily changed with a small custom CSS snippet. For example, if you want to change it to 500 pixels wide:

    [html]div[id*=ajaxsearchprores] {
    min-width: 500px !important;
    }[/html]

    This should do the trick.

    Addition: The layout will be snapped to the left hand side of the search box. So, in case you want to move it more to the left from right, you might also want to add some negative margin as well, for example:

    [html]div[id*=ajaxsearchprores] {
    margin-left: -100px !important;
    }[/html]

    This might not be needed depending on your situation, and the 100px value is just representative, you might have to experiment with that a little.

    #13822
    Danielz MaddzDanielz Maddz
    Participant

    Thanks

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