• Resolved cutu234

    (@cutu234)


    By default the results list shows a scroll bar. The defautl CSS is:

    #wpsl-stores {
        height: 350px;
        overflow-y: auto;
    }

    Scroll bars are not the most beautiful elements, in my humble opinion. ?? Do you have a specific reason for limiting the height of the results list container?

    I could override it in the child theme stylesheet like so (not pretty, but working):

    #wpsl-result-list #wpsl-stores {
        height: auto !important;
    }

    I just wonder what’s the idea behind it.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey, thanks for writing,

    Scroll bars are not the most beautiful elements, in my humble opinion. ?? Do you have a specific reason for limiting the height of the results list container?

    Well, the main reason of limiting the height of the results list has always been to match the height of the map in the standard template where the results are on the left and the map on the right, but you as you say, you are free to change the cSS and render the results list with a much higher height and with no scrollbars if it fits better in your website ??

    Best regards,

    Thread Starter cutu234

    (@cutu234)

    Ah, sorry. I forgot that I changed the template so that the results are below the map. ??

    Thank you very much!

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