Home Forums WoodMart support forum Limit the number of products show in search header

Limit the number of products show in search header

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #427590

    4putrat
    Participant

    Hi,

    i want to limitthe number of products show in search header in 3 and below will be VIEW ALL RESULTS, also is possible to inverter the position of VIEW ALL RESULTS as in picture attached,

    best regards

    Attachments:
    You must be logged in to view attached files.
    #427614

    Luke Nielsen
    Keymaster

    Hello,

    Please navigate to WoodMart -> Header builder and in the settings of the “Search” element set an appropriate figure for the “AJAX search results count” option.

    https://prnt.sc/zptUUGoL5nR5

    Let me know if you have any questions, I’d be happy to answer them.

    Kind Regards

    #427651

    4putrat
    Participant

    Hi,

    is ok now,

    for the second to inverter the position of VIEW ALL RESULTS as in picture attached (i mean text VIELL ALL PRODUCTS to be show in top not in bottom??

    best regards

    Attachments:
    You must be logged in to view attached files.
    #427665

    Luke Nielsen
    Keymaster

    Hello,

    Please try this one code for changing the position of the “VIEW ALL RESULTS” button. Paste it into the “Desktop CSS” area in Them settings -> Custom CSS.

    .wd-header-search-form .wd-dropdown-results .view-all-results {
        order: 1;
    }
    
    .wd-header-search-form .wd-dropdown-results .autocomplete-suggestion {
        order: 2;
    }

    Please let us know if there is anything further we can assist you with!

    Kind Regards

    • This reply was modified 1 year, 4 months ago by Luke Nielsen.
    #427739

    4putrat
    Participant

    Hi,

    is working, in mobile is possible to do the same things?

    best regards

    #427747

    Luke Nielsen
    Keymaster

    Here is a code for the mobile search:

    .mobile-nav .wd-search-form  .view-all-results {
        order: 1;
    }
    
    .mobile-nav .wd-search-form .autocomplete-suggestion {
        order: 2;
    }

    Enter it into the “Mobile CSS” area in Theme Settings -> Custom CSS.

    Kind Regards

    #428128

    4putrat
    Participant

    Thank you so much for your solution

    best regards

    #428134

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome!

    Always remember that you can reach out to us with any questions you may have.

    We wish you a splendid day!

    Kind Regards

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Limit the number of products show in search header’ is closed to new replies.