Sauter la navigation

[Résolu] Displaying View search results in a dropdown container

This support ticket is created Il y a 2 semaines et 5 jours. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 1 voix.

Dernière mise à jour par davidm-13 Il y a 2 semaines et 4 jours.

Assisté par: Minesh.

Auteur
Publications
#2806741
fern-srch.JPG

Tell us what you are trying to do?
I have View search results displaying as an unordered list (see attached), I would like this list to be in a scrollable drop-down box - showing 1st 4 results.
This is the Loop Editor that displays the list:
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<ul class="wpv-loop js-wpv-loop eng-name-lst">
<wpv-loop>

  • [wpv-post-body view_template="loop-item-in-eng-name-srch"]
  • </wpv-loop>

    <!-- wpv-loop-end -->
    [/wpv-items-found]
    [wpv-no-items-found]
    [wpml-string context="wpv-views"]No items found[/wpml-string]
    [/wpv-no-items-found]
    [wpv-layout-end]

    How do I change this to show a scrollable drop-down list

    What is the link to your site?
    lien caché

    #2806750

    Minesh
    Supporter

    Les langues: Anglais (English )

    Fuseau horaire: Asia/Kolkata (GMT+05:30)

    Hello. Thank you for contacting the Toolset support.

    There is no such feature available. You can use any custom CSS or JS and contact any of our certified partners for such custom programming work.
    => https://toolset.com/contractors/

    Maybe following links may help you:
    - https://stackoverflow.com/questions/9707397/making-a-div-vertically-scrollable-using-css
    - lien caché

    #2806784

    How would I display search results on a seperate page or a popup window

    #2806936

    thanks Minesh, sorted a popup solution